Sure ! and thanks for your feedback ! Do you mind to create a corresponding Jira and assign to me ? Else I will later today.
Regards JB On 08/07/2019 16:20, Markus Rathgeb wrote: > Hi JB, > > sounds good. > Thank you. > > Can you keep me informed? > > Would it make sense (e.g. for log alert usage) to enhance the checker > configuration also for multiple matches (excludes)? > > E.g. type log, > * property level should match WARN > AND > * property message should not contain the regex foobar (or should > contain the regex) > > Or we could filter some loc.class and loc.method log messages that we > know are "false positives". > > > > Am Mo., 8. Juli 2019 um 15:19 Uhr schrieb Jean-Baptiste Onofré > <j...@nanthrax.net>: >> >> Hi Markus, >> >> Correct, but you raised a valid point. Let me do the improvements on the >> checker, adding an option to "always" send the alert, ignoring previous >> ones. >> >> I imagine something like: >> >> log.level.warn.always=.... >> >> I do the change for Decanter 2.3.0 and I will cut the release asap. >> >> OK for you ? >> >> Regards >> JB >> >> On 08/07/2019 15:04, Markus Rathgeb wrote: >>>> In the case of log, it's a bit special: you receive an alert as soon as >>>> you have a log.level in WARN, and it's stored in the Decanter alerts. >>>> Then, the next log message which is not a WARN will notify you. >>>> >>>> I need to improve a bit the mail alerter to only send the first email in >>>> the case of log (it makes sense for metrics, like the ones coming from >>>> the JMX collector). >>> >>> So, it is more like state entered and state exited. ? >>> >>> Let's assume the following log messages: >>> >>> * INFO 0 >>> * WARN 1 >>> * WARN 2 >>> * WARN 3 >>> * WARN 4 >>> * INFO 5 >>> * INFO 6 >>> * WARN 7 >>> * INFO 8 >>> >>> Is it correct that I will only receive mails for "WARN 1", "INFO 5", >>> "WARN 7" and "INFO 8"? >>> >>> If I would like to get a mail per WARN log message, I need to write my >>> own log appender? >>> >> >> -- >> Jean-Baptiste Onofré >> jbono...@apache.org >> http://blog.nanthrax.net >> Talend - http://www.talend.com -- Jean-Baptiste Onofré jbono...@apache.org http://blog.nanthrax.net Talend - http://www.talend.com