public interface LogService
Modifier and Type | Method and Description |
---|---|
void |
clearLogEntries()
Clears all log entries from the log buffer.
|
File |
collectLogs()
Collects the local system support log files into a single ZIP log file.
|
File |
collectTeamLogs()
Collects the support log files from all team-members, including this
system, into a single ZIP file of ZIP file(s).
|
List<String> |
getLoggers()
Returns the list of loggers and the level for each.
|
String |
getLogLevel(String loggerName)
Retrieve the current logging level for the logger with the supplied
name.
|
List<LogEntry> |
logEntries()
Returns the log entries currently stored in the log buffer.
|
int |
logEntriesCapacity()
Returns the log entries capacity.
|
String |
modifyLogLevel(String loggerName,
String newLevel)
Modify the logging level.
|
String |
requestTeamLogs()
Request asynchronous collection of support log data from all team members.
|
File |
retrieveTeamLogs(String ticket)
Retrieve the zip file containing the support log data from all team
members, based on the given ticket.
|
File collectLogs() throws IOException
IOException
- if unable to collect logsFile collectTeamLogs() throws IOException
IOException
- if unable to collect logsString requestTeamLogs() throws IOException
retrieveTeamLogs(java.lang.String)
method with the issued
ticket to obtain the support log data.IOException
- if staging area for log file collection cannot
be createdFile retrieveTeamLogs(String ticket)
IllegalArgumentException
is thrown.ticket
- the ticket issued when the requst was madeList<LogEntry> logEntries()
List<String> getLoggers()
void clearLogEntries()
int logEntriesCapacity()
String getLogLevel(String loggerName)
loggerName
- the name of the loggerCopyright © 2016. All Rights Reserved.