tune logging
This commit is contained in:
parent
2748a21863
commit
c84edb5b23
5 changed files with 25 additions and 14 deletions
|
@ -14,19 +14,20 @@
|
|||
export IDP_LOG_SETTINGS_FILE=/etc/eidas-connector/loglevels.xml
|
||||
|
||||
# Process logs go to stdout
|
||||
export IDP_LOG_CONSOLE=true
|
||||
export IDP_LOG_CONSOLE=false
|
||||
|
||||
# Syslog (for Audit and F-TICKS)
|
||||
export IDP_SYSLOG_HOST=log.sveidas.se
|
||||
export IDP_SYSLOG_PORT=514
|
||||
export IDP_AUDIT_SYSLOG_FACILITY=AUTHPRIV
|
||||
|
||||
# F-TICKS and Audit
|
||||
export IDP_PROCESS_SYSLOG_HOST=log.sveidas.se
|
||||
export IDP_PROCESS_SYSLOG_PORT=514
|
||||
|
||||
export IDP_AUDIT_SYSLOG_FACILITY=LOCAL0
|
||||
|
||||
export IDP_FTICKS_FEDERATION_ID=eIDAS
|
||||
|
||||
# Different formats -> different facilities (?)
|
||||
export IDP_FTICKS_SYSLOG_FACILITY=AUTHPRIV
|
||||
|
||||
export IDP_FTICKS_SYSLOG_FACILITY=LOCAL1
|
||||
export IDP_PROCESS_SYSLOG_FACILITY=LOCAL2
|
||||
|
||||
# JVM settings
|
||||
export JVM_MAX_HEAP=1536m
|
||||
|
|
|
@ -14,18 +14,20 @@
|
|||
export IDP_LOG_SETTINGS_FILE=/etc/eidas-connector/loglevels.xml
|
||||
|
||||
# Process logs go to stdout
|
||||
export IDP_LOG_CONSOLE=true
|
||||
export IDP_LOG_CONSOLE=false
|
||||
|
||||
# Syslog (for Audit and F-TICKS)
|
||||
export IDP_SYSLOG_HOST=log.qa.sveidas.se
|
||||
export IDP_SYSLOG_PORT=514
|
||||
export IDP_AUDIT_SYSLOG_FACILITY=AUTHPRIV
|
||||
|
||||
# F-TICKS and Audit
|
||||
export IDP_PROCESS_SYSLOG_HOST=log.qa.sveidas.se
|
||||
export IDP_PROCESS_SYSLOG_PORT=514
|
||||
|
||||
export IDP_AUDIT_SYSLOG_FACILITY=LOCAL0
|
||||
|
||||
export IDP_FTICKS_FEDERATION_ID=eIDAS
|
||||
|
||||
# Different formats -> different facilities (?)
|
||||
export IDP_FTICKS_SYSLOG_FACILITY=AUTHPRIV
|
||||
export IDP_FTICKS_SYSLOG_FACILITY=LOCAL1
|
||||
export IDP_PROCESS_SYSLOG_FACILITY=LOCAL2
|
||||
|
||||
|
||||
# JVM settings
|
||||
|
|
3
log-1.sveidas.se/overlay/etc/rsyslog.d/99-audit.conf
Normal file
3
log-1.sveidas.se/overlay/etc/rsyslog.d/99-audit.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
local0.* -/var/log/eidas_audit.log
|
||||
local1.* -/var/log/eidas_fticks.log
|
||||
local2.* -/var/log/eidas_process.log
|
3
log-2.sveidas.se/overlay/etc/rsyslog.d/99-audit.conf
Normal file
3
log-2.sveidas.se/overlay/etc/rsyslog.d/99-audit.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
local0.* -/var/log/eidas_audit.log
|
||||
local1.* -/var/log/eidas_fticks.log
|
||||
local2.* -/var/log/eidas_process.log
|
|
@ -1 +1,3 @@
|
|||
authpriv.* -/var/log/authpriv.log
|
||||
local0.* -/var/log/eidas_audit.log
|
||||
local1.* -/var/log/eidas_fticks.log
|
||||
local2.* -/var/log/eidas_process.log
|
||||
|
|
Loading…
Add table
Reference in a new issue