This documentation is for WSO2 Governance Registry 5.3.0. View documentation for the latest release.
||
Skip to end of metadata
Go to start of metadata

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.

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.

  • No labels