Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Logs can be retrieved based on username, time period, action performed, and specific resource. For this purpose, the method getLogs returns an array while the method getLogCollection returns a collection.

Code Block

LogEntry[] logentries = registry.getLogs("c1/c2/r3", LogEntry.ALL, "admin", new Date(2010,4,7), new Date(2010,4,12), true);

LogEntryCollection leCollection = registry.getLogCollection("c1/c2/r3", LogEntry.ALL, "admin", new Date(2010,4,7), new Date(2010,4,12), true);

For more information about logs, see Logging and System Logs.

...

hiddentrue

...