Hitachi

uCosminexus Application Server Expansion Guide


8.6.2 Creating and setting handlers

A handler is created and set up by using the contents that are specified when you set up a system.

When using CJMessageFileHandler, you can create multiple file handlers by changing the handler name.

You can specify the following items in the file filter created with CJMessageFileHandler:

Note that when the application name and message ID of a log output by a handler can be the same, you can specify this value as a property of CJMessageFileHandler. If you want to change application names and message IDs of the logs output for messages, use and implement the CJLogRecord class such that you can output the application name and message ID for each log output processing in the application.