Skip to content

Commit df31de0

Browse files
author
Christopher M. Neill
committed
moving somethings around in the docker-listener.yml, fixed broken output channel in the rsyslog config
1 parent 2a260cb commit df31de0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ansible/docker-listener.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
vars_files:
88
- group_vars/alpha-docker-listener.yml
99
roles:
10-
- { role: loggly }
1110
- { role: notify, tags: [notify] }
1211
- { role: build_essential }
1312
- { role: docker_client }
1413
- { role: git_node_service, tags: [deploy] }
14+
- { role: loggly }
1515
- { role: consul_value, tags: [deploy, consul_value] }

ansible/roles/loggly/templates/21-output-syslog.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $PrivDropToGroup adm
55
# outchannel definition
66
$outchannel log_rotation_{{ name }},/var/log/{{ name }}.log, 52428800,/opt/runnable/bin/rotate-{{ name }}-logs.sh
77
# activate the channel and log everything to it
8-
local7.* :omfile:$log_rotation
8+
local7.* :omfile:$log_rotation_{{ name }}
99
# end log rotation via outchannel
1010

1111
# {{ name }} access file:

0 commit comments

Comments
 (0)