In a template "mozsocial Template" I have an item with this key:
log[/var/log/mozsocial.log,error:]
This works fine to grab the lines from the logfile. Now I also created a trigger so I'd be informed whenever such a line appeared. I want that it stays in the error state for 5 minutes. I created a trigger with this expression:
{mozsocial Template:log[/var/log/mozsocial.log,error:].str(error,300)}=1
An error came in and the trigger matched, but then 5 minutes later it didn't turn off -- it hasn't actually turned off now an hour later.
I thought I had this working in a test, so I'm not sure what is wrong now.
log[/var/log/mozsocial.log,error:]
This works fine to grab the lines from the logfile. Now I also created a trigger so I'd be informed whenever such a line appeared. I want that it stays in the error state for 5 minutes. I created a trigger with this expression:
{mozsocial Template:log[/var/log/mozsocial.log,error:].str(error,300)}=1
An error came in and the trigger matched, but then 5 minutes later it didn't turn off -- it hasn't actually turned off now an hour later.
I thought I had this working in a test, so I'm not sure what is wrong now.
Comment