Skip to content

Instantly share code, notes, and snippets.

@arnested
Created February 4, 2014 13:15
Show Gist options
  • Save arnested/8803368 to your computer and use it in GitHub Desktop.
Save arnested/8803368 to your computer and use it in GitHub Desktop.
# Drupal watchdog facility has its own log file
? [= Sender drupal] claim only
> /var/log/watchdog.log mode=0644 format=bsd rotate=seq compress file_max=5M all_max=50M
* file /var/log/watchdog.log
@arnested
Copy link
Author

arnested commented Feb 4, 2014

When using Drupals syslog.module to log watchdog messages to syslog it is nice to have them logged to a separate log file.

On Mac OS X add this config file as /etc/asl/org.drupal.watchdog and restart the syslog daemon with

sudo killall -HUP syslogd

@sergiitk
Copy link

Hi Arne, nice to meet you here :)
After OSX reinstall I forgot changes I made to the SSL and was googling for the recipe. Say hello to ex-Berlingske folks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment