Constructor | Description |
---|---|
ProcessIdLabeler() |
Modifier and Type | Method | Description |
---|---|---|
File |
getLogFile(File baseFile,
int maxBackups) |
Returns the real log file.
|
String |
getProcessId() |
Get the process ID (PID).
|
void |
init(Configuration configuration) |
Initialize the labeler.
|
File |
roll(File file,
int maxBackups) |
Rolls existing log files and backups and returns a new log file.
|
public String getProcessId()
public void init(Configuration configuration)
Labeler
public File getLogFile(File baseFile, int maxBackups)
Labeler
getLogFile
in interface Labeler
baseFile
- Defined log file by usermaxBackups
- Maximum number of backups to storeCopyright © 2019. All rights reserved.