Item name |
Description |
Remarks |
File path |
Select or input path of log file.
Click [Browse] button to activate the file Selectr and Select the file. |
For file path, specify absolute path of the local file system of server OS.
|
Maximum size of file |
Enter the maximum size of log file.
Rolls up log file when the set value is exceeded. |
- The default value is "2MB".
- The unit of "B", "KB", "MB", "GB" for each string can be specified.
- The range can be specified is "1B" to "about 92 billion GB".
|
Number of backups |
Enter the maximum number of backup files.
Deletes the backup files when the set value is exceeded. |
- The default value is "10".
- The range can be specified is from "0" to "2.1 billion".
|
Character |
Description |
Remarks |
c |
Used to output the category of the logging event. |
|
d |
Used to output the date of the log event.
Date format can be specified by a string specified in the {} brackets followed.
For example,%d{HH:mm:ss,SSS} or %d{dd MMM yyyy HH:mm:ss,SSS} and so on.
If omitted, ISO8601 format is assumed. |
|
m |
Outputs the message set by logging event. |
|
n |
Outputs platform dependent line break character.
It is recommended using this conversion character because non-portable line break characters "\n" or "\r\n" performance is the same as natural performance |
|
p |
Outputs log level. |
|
% |
For the series of %%, outputs a single percent character. |
|
Specification example |
Left aligned |
Minimum width |
Maximum width |
Description |
%20c |
false |
20 |
none |
If category name has less than 20 characters then it will be filled with blanks on the left. |
%-20c |
true |
20 |
none |
If category name has less than 20 characters then it will be padded with spaces to the right. |
%.30c |
- |
- |
30 |
If category name is longer than 30 characters, then it will be removed from the beginning. |
%20.30c |
false |
20 |
30 |
If the category name is shorter than 20 characters, then it will be padded with spaces to the left .
If category name is longer than 30 characters, then it will be removed from the beginning. |
%-20.30c |
true |
20 |
30 |
If category name is shorter than 20 characters, It will be padded with spaces to the right .
If the category name is longer than 30 characters, it will be removed from the beginning. |