You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get the role to configure nomad to log in /var/log/nomad rather than /var/log/messages, just for convenience of monitoring the cluster logs. I've set group_vars for my nomad group to:
nomad_syslog_enable: false
and otherwise am using the default location for logging. Regardless of the syslog setting though, all log messages from nomad are written to /var/log/messages rather than the default location specified in the role as:
nomad_log_dir: /var/log/nomad
The text was updated successfully, but these errors were encountered:
Unfortunatley, the nomad_log_dir configuration was invalid.
Nomad logs only to stdout/stderr in a 12 factor app style, which is captured by the systemd journal by default on most Linux distributions including RHEL7.
Nomad doesn't actually have configuration to specify logging to a static file location so I've removed the non-functional configuration and related documentation and apologies for the confusion there!
I'm trying to get the role to configure nomad to log in /var/log/nomad rather than /var/log/messages, just for convenience of monitoring the cluster logs. I've set group_vars for my nomad group to:
and otherwise am using the default location for logging. Regardless of the syslog setting though, all log messages from nomad are written to /var/log/messages rather than the default location specified in the role as:
The text was updated successfully, but these errors were encountered: