Conversation
| owner=syslog | ||
| group=syslog | ||
|
|
||
| - name: create runnable bin directory |
There was a problem hiding this comment.
So we no longer need the rotate script at all? Is this somehow handled by rsyslog itself?
There was a problem hiding this comment.
Correct. Syslog will simply open a new log file every hour.
Actually, let me add one more thing...
| $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat | ||
|
|
||
| # Runnable JSON logging format | ||
| $template RunnableJSON,"%msg:2:$:jsonr%\n" |
There was a problem hiding this comment.
Go ahead an add a comment that explains this line.
| @@ -0,0 +1,17 @@ | |||
| # not really an alias | |||
| function logtail() { | |||
There was a problem hiding this comment.
Let's comment these functions similar to the way we comment them in dock-init, please and ty 👯
There was a problem hiding this comment.
Make the methods look like they do in dock-init:
https://github.com/CodeNow/dock-init/blob/master/lib/consul.sh#L28
| @@ -0,0 +1,19 @@ | |||
| --- | |||
| - name: copy bash aliases to ubuntu | |||
| tags: [ loggly, deploy ] | |||
There was a problem hiding this comment.
nope, do not want to do this every deploy
There was a problem hiding this comment.
It's the only way I could get it to work. Suggest alternate tag? bash_aliases?
Dependencies
Reviewers
Tests
Deployment (post-merge)