Skip to content

Commit e0c20ae

Browse files
author
Christopher M. Neill
committed
checking in because changing locs (in case of fire: git add . ; git commit ; git push)
1 parent 575e091 commit e0c20ae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ $PrivDropToGroup adm
33

44
# start log rotation via outchannel
55
# outchannel definition
6-
$outchannel log_rotation,/var/log/log_rotation.log, 52428800,/home/me/./log_rotation_script
6+
$outchannel log_rotation,/var/log/{{ name }}.log, 52428800,/home/ubuntu/bin/rotate-logs.sh
77
# activate the channel and log everything to it
8-
*.* :omfile:$log_rotation
8+
local7.* :omfile:$log_rotation
99
# end log rotation via outchannel
1010

1111
# {{ name }} access file:

0 commit comments

Comments
 (0)