-
-
Save dobrych/1453977 to your computer and use it in GitHub Desktop.
NewSyslog Log Rotate on OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rotate rails logs on OS X using newsyslog | |
# count: how many old files to keep around, this is dev, so 0 | |
# size: 1000 kb | |
# when: * - only rely on the size property | |
# flags: G - interpret logfilename as a shell pattern | |
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] | |
/Users/jcf/Code/**/log/*.log 666 0 1000 * G |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment