Open k0st1an opened 4 years ago
I have the same problem. It would be nice to have something like access_log has:
access_log logs/access.log combined if=$true;
You can do it by using a variable for topic
and having it evaluate to an empty string when you don't want to send the message. If topic
is empty, the module doesn't send a message.
Thanks for the module! But, please, add the ability to work inside if. This will help to cancel the logging of some requests:
Now I get the error:
The configuration can be like this: