This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
settings-mgmt:04-logging [2020/03/28 08:05] mpospisek created |
settings-mgmt:04-logging [2020/03/28 09:02] (current) mpospisek ↷ Page moved from settings:04-logging to settings-mgmt:04-logging |
||
---|---|---|---|
Line 5: | Line 5: | ||
The ADUCID server (AIM) consists of several components, and each of them can be configured to generate log messages. | The ADUCID server (AIM) consists of several components, and each of them can be configured to generate log messages. | ||
- | | Component | + | ^ Component |
| Apache HTTPD server | HTTPD .conf files | | | Apache HTTPD server | HTTPD .conf files | | ||
| Apache Tomcat server | Tomcat .conf files | | | Apache Tomcat server | Tomcat .conf files | | ||
Line 11: | Line 11: | ||
| ADUCID Binder | system variables | | | ADUCID Binder | system variables | | ||
| ADUCID AIM | ADUCID.properties file | | | ADUCID AIM | ADUCID.properties file | | ||
- | |||
- | ==== ADUCID Binder ==== | ||
- | This component has several parts, one acting inside | + | ==== Apache HTTPD ==== |
- | Logging is controlled by system variable OPENAAA_VERBOSE, | + | |
- | + | With default settings, log files are in / | |
+ | * access.log | ||
+ | * error.log | ||
+ | * aaa_https.log | ||
+ | |||
+ | ==== Apache Tomcat ==== | ||
+ | |||
+ | With default settings, log files are in / | ||
+ | * catalina.out | ||
+ | * localhost_access_log.< | ||
+ | |||
+ | ==== Binder ==== | ||
+ | |||
+ | Logging is controlled by system variable OPENAAA_VERBOSE, | ||
+ | |||
+ | ^ Value ^ Log Level ^ | ||
+ | | 1 | ERROR | | ||
+ | | 2 | WARN | | ||
+ | | 3 | INFO | | ||
+ | | 4 | DEBUG1 | | ||
+ | | 5 | DEBUG2 | | ||
+ | | 6 | DEBUG3 | | ||
+ | | 7 | DEBUG4 | | ||
+ | |||
+ | As this component has several parts, the system variable needs to be set in several files: | ||
+ | * / | ||
+ | * / | ||
+ | * / | ||
+ | * / | ||
+ | |||
+ | ==== AIM ==== | ||
+ | Logging is set in the ADUCID.properties file. Two parameters configure what and | ||
+ | * Parameters DEBUG_LOGGING_ON and AUDITING_ON switch on/off debug logging and audit logging, respectively. | ||
+ | * Parameters SYSLOG_LOGGING_ON and SYSLOG_AUDITING_ON switch on/off messages destination, | ||
+ | |||
+ | ^DEBUG_LOGGING_ON^SYSLOG_LOGGING_ON^Output to aim.log^Output to SYSLOG^ | ||
+ | |false|false|[INFO], | ||
+ | |false|true|x|[INFO], | ||
+ | |true|false|[INFO], | ||
+ | |true|true|x|[INFO], | ||
+ | ^AUDITING_ON^SYSLOG_AUDITING_ON^Output to aim_audit.log^Output to SYSLOG^ | ||
+ | |false|false|x|x| | ||
+ | |false|true|x|x | | ||
+ | |true|false|[AUDIT]|x | | ||
+ | |true|true|x|[AUDIT]| | ||
+ | |||
+ | Files aim.log and aim_audit.log are located in / | ||
+ | |||
+ | There are other settings in the ADUCID properties file, controlling syslog integration: | ||
+ | <sxh bash> | ||
+ | # syslog | ||
+ | SYSLOG_PROTOCOL=UDP | ||
+ | SYSLOG_HOST=127.0.0.1 | ||
+ | SYSLOG_PORT=514 | ||
+ | SYSLOG_FACILITY=LOCAL3 | ||
+ | |||
+ | # syslog - audit | ||
+ | SYSLOG_AUDIT_PROTOCOL=UDP | ||
+ | SYSLOG_AUDIT_HOST=127.0.0.1 | ||
+ | SYSLOG_AUDIT_PORT=514 | ||
+ | SYSLOG_AUDIT_FACILITY=LOCAL3 | ||
+ | </ | ||
+ | |||
+ | [<>] |