Skip to content

Instantly share code, notes, and snippets.

@ncancelliere
Last active August 29, 2015 14:06
Show Gist options
  • Save ncancelliere/c9fb111cf16133b69f1f to your computer and use it in GitHub Desktop.
Save ncancelliere/c9fb111cf16133b69f1f to your computer and use it in GitHub Desktop.
rotate all my web project logs
# /etc/newsyslog.d/rails_projects.conf
# to test run 'sudo newsyslog -nvv'
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]
/Users/nicholas/*/*/log/*.log nicholas:staff 644 0 * $W0D23 GZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment