Skip to content

Instantly share code, notes, and snippets.

@ymek
Created February 21, 2011 18:57
Show Gist options
  • Select an option

  • Save ymek/837516 to your computer and use it in GitHub Desktop.

Select an option

Save ymek/837516 to your computer and use it in GitHub Desktop.
^Cymek@zedd ~/development/projects/logmailer/bin $ ./lmd run
logmailer.rb: process with pid 9426 started.
DEBUG:: New Log Object: test.log
DEBUG:: Reading from test.log
DEBUG:: Have a frequency constraint... continue
DEBUG:: Frequency not met 1 < 3
DEBUG:: Reading from test.log
DEBUG:: Have a frequency constraint... continue
DEBUG:: Frequency not met 2 < 3
DEBUG:: Reading from test.log
DEBUG:: Have a frequency constraint... continue
DEBUG:: Should match all required 'mail me plz' contraints. MAIL ABOUT IT (and reset?)
DEBUG:: x{/usr/local/sbin/zabbix_sender -vv -c /etc/zabbix/zabbix_agentd.conf -k php.errors.mysql.deadlock -o 1
DEBUG:: From: LogMailer <logmailer@zedd.in.escapemg.com>
To: Backend <backend@escapemg.com>
Subject: [zedd] /home/ymek/tmp/logs/test.log
Date: Mon, 21 Feb 2011 13:55:55 -0500
[17-Feb-2011 20:13:39] PHP Notice: mysqli::execute() error: Deadlock found when trying to get lock; try restarting transaction in /opt/lib/weblib/DB/Statement.php on line 63\n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment