Hitachi

uCosminexus Application Server Expansion Guide


8.12.2 Notes for using your own filters and formatters

When a log message is output, the isLoggable method#1 of handler returns true#2, if the filter created by you, which is connected to the handler, throws an exception.

If the formatter created by you, which is connected to the handler, throws an exception, the handler cannot output a message that is formatted by the formatter. The message specified by you is output without any formatting by the formatter.

For details on the contents of the exceptions thrown by the filter and the formatter created by you, see cjexception.log.

#1

The isLoggable method determines the selection of a log message.

#2

true indicates that the message is targeted for output.