public class LogFileProvider extends Object
Constructor and Description |
---|
LogFileProvider() |
Modifier and Type | Method and Description |
---|---|
DataHandler |
downloadLogFile(String logFile)
This method will download a log file with the given name.
|
List<LogFileInfo> |
getLogFileInfoList(String tenantDomain,
String serverKey)
This method will return the information of log files in repository/logs.
|
public List<LogFileInfo> getLogFileInfoList(String tenantDomain, String serverKey)
tenantDomain
- - Tenant domain eg: t1.com.serverKey
- Server name.public DataHandler downloadLogFile(String logFile) throws LogViewerException
logFile
- - File name which need to download, this should not be null.LogViewerException
- Error occurred while reading the file.Copyright © 2023 WSO2. All rights reserved.