The configuration of the Log Swiftlet is defined within the element
<swiftlet name="sys$log" .../>
of the router's configuration file. One can use the SwiftMQ Exlorer or CLI for configuration as well. They both save into that file.
Attributes of Element "swiftlet"
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| size-limit | java.lang.Integer | No | Logfiles do rotate by reaching this size |
| logfile-info-enabled | java.lang.Boolean | No | Info Logfile enabled |
| logfile-info | java.lang.String | No | Logfile Information Messages |
| logfile-warning-enabled | java.lang.Boolean | No | Warning Logfile enabled |
| logfile-warning | java.lang.String | No | Logfile Warning Messages |
| logfile-error-enabled | java.lang.Boolean | No | Error Logfile enabled |
| logfile-error | java.lang.String | No | Logfile Error Messages |
Values
| Attribute | Values |
|---|---|
| size-limit | Min: 1 Default: 1024 |
| logfile-info-enabled | Default: true |
| logfile-info | Default: swiftmq_info.log |
| logfile-warning-enabled | Default: true |
| logfile-warning | Default: swiftmq_warning.log |
| logfile-error-enabled | Default: true |
| logfile-error | Default: swiftmq_error.log |