Product: OpenFusion JacORB
Version: s.x
Description:
How to log the JacORB output to a file?
Resolution:
(Note: This applies to JacORB 2. There may be slight differences in the property names for earlier versions.)
In the OpenFusion distribution the log files are written to the directory specified in the jacorb property jacorb.logfile.
By default this is set as follows:
jacorb.logfile= ${OF_Install_Dir}/etc/jacorb/logs/$implname
If the jacorb.logfile property ends in $implname e.g. jacorb.logfile=c:/tmp/$implname and the jacorb.implname property has been set, output will be logged to a file with the same name as the jacorb.implname property value.
This property is described in detail in the JacORB Programming Guide.
The jacorb.logfile.append value tells the logger whether to overwrite existing log files or to append to the existing log file.
The jacorb.logfile.maxLogSize property, determines how large a log file may become before the logger automatically creates a new file. This value is in kilobytes. If it is set to 0, log files may become arbitrarily large, no log file rotation is used. This is set to 0 by default.
The jacorb.log.default.verbosity property controls how much diagnostic output you get from the ORB at runtime. This can be set the the following values:
- 0 = fatal errors only = "almost off" (FATAL ERRORS)
- 1 = non-fatal errors and exceptions (ERROR)
- 2 = important messages (WARN)
- 3 = informational messages and exceptions (INFO)
- 4 = debug-level output (DEBUG)
#KnowledgeDocs
#OpenFusion
#OpenFusionJacORB