Refer to here for more information about Web Console edition.
An application log output destination must be created before output application log using script component "Output Log".
| Name of functions | Description | Remarks |
|---|---|---|
| List all Application Log Output Settings | Lists all Application Log Output Settings listed when Application Log Output Settings is started. |
|
| Add new application log output setting | Creates new application log output setting | |
| Change application log output setting | Changes application log output setting | |
| Remove application log output setting | Removes application log output setting |
| Item name | Description | Remarks |
|---|---|---|
| Name | Name of the Application log output setting | |
| type |
Type of the Application log output setting
|
|
| Owner | User who last updated the Application log output |
| Item name | Description | Remarks |
|---|---|---|
| Syslog | Send log to remote Syslog daemon. | |
| NT event log | Adds to the NT event log system. |
|
| Rotation file | Outputs log to file.
Rolls up when file reaches to the [Maximum size of file], then saves backup file of the designated part [Backup file]. |
|
| Schedule file | Outputs log to file.
Rolls up the log files in accord with the schedule and saves the backup file. |
| Item name | Description | Remarks |
|---|---|---|
| Name of Log output destination setting | Enter the name of Log output destination setting |
|
| Item name | Description | Remarks |
|---|---|---|
| Hostname/IP address | Enter the name of the host that Syslog daemon operates on. |
|
| Facility | Select the Syslog facility.
|
|
| Output facility name | Select whether to output facility name to log.
|
| Item name | Description | Remarks |
|---|---|---|
| Source | When outputting NT event logs, input source showing the name of where the log occurred. |
|
| 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. |
|
| Maximum size of file | Enter the maximum size of log file.
Rolls up log file when the set value is exceeded. |
|
| Number of backups | Enter the maximum number of backup files.
Deletes the backup files when the set value is exceeded. |
|
| Item name | Description | Remarks |
|---|---|---|
| File path | Select or input the log file path.
Click [Browse] button to activate the file Selectr and Select files. |
|
| Schedule setting | Select the schedule to roll up.
|
|
| Item name | Description | Remarks |
|---|---|---|
| Layout | Enter the log format layout by pattern string. |
|
| 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. |
For details, please refer to "PatternLayout" of log4j (http://logging.apache.org/log4j/1.2/apidocs/index.html).
| Item name | Description | Remarks |
|---|---|---|
| Log level threshold | Select the log level threshold.
|
|
| Log level | Syslog | NT Event |
|---|---|---|
| FATAL | emerg | Error |
| ERROR | err | Error |
| WARN | warning | Warning |
| INFO | info, notice | Information |
| DEBUG | debug | Information |
See Add new application log output setting for details.
For more information, please refer to "Restrictions on characters used in DataSpider File System".| Exception name | Cause | Solution |
|---|---|---|
| java.lang.NoClassDefFoundError | Library file is not located in a specified place. | It is necessary to locate the required library file to the specified directory to use the NT event log function. Refer to "NT event log" for details. |