Hello,
I havn't been following the latest list discussion concerning custom or
a new log levels for log4j. So excuse me if this hass been discussed
already.
But as we progrees using log4j in more and more production environments,
we come across a usefull important features which in my opinion might be
usefull for others as well.
Next to the current available levels, we see a need for another level
which is related to announcements. We are running/starting important
processes early in the morning and we need to get announcments whether
they have been started and ran as required. These announcement are
dipatched by email, pager ....
Why should it be a new level:
It is important to know if some process started although this is not an
error/warn/fatal.
Not receiving any error doesn't necessary mean that everything is ok
simply the process might not have been started and is not sending any
messages at all.
By announcing events, one knows all is ok for sure.
These ANNOUNCEments are not of type INFOrmal, we have already lots of
INFO messages in the log files.
It is not of type ERROR, WARN, FATAL. these are dispatched differently
(related to critical problem handling).
If nobody else does sees a need for this, is there somehting special we
need to be aware of inside log4j in order to implement this as a custom
level?
( do we have to dive inside and change source code of chainsaw,
appenders like email,....?) or is it pretty straight forward.
Thanks for any feedback
Marc