-
Notifications
You must be signed in to change notification settings - Fork 49
/
container_config
29 lines (25 loc) · 1.17 KB
/
container_config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# rsyslog syslog appliance container configuration.
# This file will be sourced upon container startup.
# Uncomment those settings that you need and set them to your
# desired values.
# general container app settings:
export TZ=UTC
#export CONTAINER_SILENT=on # do not emit startup message
export ENABLE_STATISTICS=on
# Do we write log files?
export ENABLE_LOGFILES=on # yes, we do (comment out to disable)
# Where do we write to?
# path for host-specific files is: /logs/hosts/HOSTNAME
export LOGFILES_STORE="/logs/hosts/%hostname:::secpath-replace%/messages.log"
# you can of course overwrite this. For example, the below definition
# uses the program name instead of a fixed name "messages.log". That means
# for each host, a separate file for each program will be generated.
#export LOGFILES_STORE="/logs/hosts/%hostname:::secpath-replace%/%programname:::secpath-replace%.log"
# If you have an account with Logsene, enter your access
# information below:
#export LOGSENE_TOKEN=
#export LOGSENE_URL=logsene-receiver.eu.sematext.com
# Settings for debugging the container
#export USE_VALGRIND=on
#export RSYSLOG_DEBUG="debug nostdout"
#export RSYSLOG_DEBUGLOG="/logs/rsyslog-internal-debug.log"