diff options
-rw-r--r-- | config/cloud.cfg.d/05_logging.cfg | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/config/cloud.cfg.d/05_logging.cfg b/config/cloud.cfg.d/05_logging.cfg index 2e180730..937b07f8 100644 --- a/config/cloud.cfg.d/05_logging.cfg +++ b/config/cloud.cfg.d/05_logging.cfg @@ -53,14 +53,19 @@ _log: args=("/dev/log", handlers.SysLogHandler.LOG_USER) log_cfgs: -# These will be joined into a string that defines the configuration - - [ *log_base, *log_syslog ] -# These will be joined into a string that defines the configuration +# Array entries in this list will be joined into a string +# that defines the configuration. +# +# If you want logs to go to syslog, uncomment the following line. +# - [ *log_base, *log_syslog ] +# +# The default behavior is to just log to a file. +# This mechanism that does not depend on a system service to operate. - [ *log_base, *log_file ] -# A file path can also be used +# A file path can also be used. # - /etc/log.conf -# this tells cloud-init to redirect its stdout and stderr to +# This tells cloud-init to redirect its stdout and stderr to # 'tee -a /var/log/cloud-init-output.log' so the user can see output # there without needing to look on the console. output: {all: '| tee -a /var/log/cloud-init-output.log'} |