Replace MODX logging with Monolog to log to Graylog2, syslog, AMQP, etc.
- put all the contents of this gist into the document root (where folders
core,manager, etc. are located) - run composer install to get Monolog
- run
sh patchmodx.sh - edit
modx-monolog.php- at line 22 there's the default handler - replace it with whatever you want to log to - see monolog readme for more info