Differences
This shows you the differences between two versions of the page.
newsyslog [2015/01/16 09:26] 127.0.0.1 external edit |
newsyslog [2015/06/01 17:03] steve |
||
---|---|---|---|
Line 22: | Line 22: | ||
<code> | <code> | ||
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] | # logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] | ||
- | /usr/local/dtrike/logs/php53.log daemon:staff 664 5 * $D0 JN | + | /usr/local/steve/logs/php53.log daemon:staff 664 5 * $D0 JN |
- | /usr/local/dtrike/logs/php54.log daemon:staff 664 5 * $D0 JN | + | /usr/local/steve/logs/php54.log daemon:staff 664 5 * $D0 JN |
- | /usr/local/dtrike/logs/php55.log daemon:staff 664 5 * $D0 JN | + | /usr/local/steve/logs/php55.log daemon:staff 664 5 * $D0 JN |
- | /usr/local/dtrike/logs/php56.log daemon:staff 664 5 * $D0 JN | + | /usr/local/steve/logs/php56.log daemon:staff 664 5 * $D0 JN |
</code> | </code> | ||
** Rotate Apache logs ** | ** Rotate Apache logs ** | ||
- | Add this to ''/etc/newsyslog.d/apache.conf'', or download it [[http://beandog.digitaltrike.com/osx/newsyslog/apache.conf|here]] | + | Add this to ''/etc/newsyslog.d/apache.conf'', or download it [[http://beandog.org/osx/newsyslog/apache.conf|here]] |
<code> | <code> | ||
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] | # logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] | ||
- | /usr/local/dtrike/apache2/logs/access_log root:wheel 644 5 * $D0 JN | + | /usr/local/steve/apache2/logs/access_log root:wheel 644 5 * $D0 JN |
- | /usr/local/dtrike/apache2/logs/error_log root:wheel 644 5 * $D0 JN | + | /usr/local/steve/apache2/logs/error_log root:wheel 644 5 * $D0 JN |
- | /usr/local/dtrike/apache2/logs/ssl_request_log root:wheel 644 5 * $D0 JN | + | /usr/local/steve/apache2/logs/ssl_request_log root:wheel 644 5 * $D0 JN |
- | /usr/local/dtrike/apache2/logs/suexec_log root:wheel 644 5 * $D0 JN | + | /usr/local/steve/apache2/logs/suexec_log root:wheel 644 5 * $D0 JN |
</code> | </code> |