Skip to content

Commit

Permalink
fix newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquincasares committed May 25, 2022
1 parent 8ed1fe4 commit da1bac7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion discovery-provider/scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ if ((enableRsyslog)); then
\$ActionQueueSaveOnShutdown on # save messages to disk on shutdown
\$ActionQueueType LinkedList # run asynchronously
\$ActionResumeRetryCount -1 # infinite retries if host is down
template(name="LogglyFormat" type="string"
string="<%pri%>%protocol-version% %timestamp:::date-rfc3339% %HOSTNAME% %app-name% %procid% %msgid% [$audius_loggly_token@41058 $audius_loggly_tags] %msg%\n")
# Send messages to Loggly over TCP using the template.
action(type="omfwd" protocol="tcp" target="logs-01.loggly.com" port="514" template="LogglyFormat")
EOF
Expand All @@ -52,10 +54,11 @@ EOF
\$ActionQueueSaveOnShutdown on # save messages to disk on shutdown
\$ActionQueueType LinkedList # run asynchronously
\$ActionResumeRetryCount -1 # infinite retries if host is down
\$outchannel server_log,/var/log/discprov-server.log, 52428800,/audius-discovery-provider/scripts/rotate-log.sh
\$outchannel worker_log,/var/log/discprov-worker.log, 52428800,/audius-discovery-provider/scripts/rotate-log.sh
\$outchannel beat_log,/var/log/discprov-beat.log, 52428800,/audius-discovery-provider/scripts/rotate-log.sh
joaquincasares marked this conversation as resolved.
if \$programname == 'server' then :omfile:\$server_log
if \$programname == 'worker' then :omfile:\$worker_log
if \$programname == 'beat' then :omfile:\$beat_log
Expand Down

0 comments on commit da1bac7

Please sign in to comment.