

Public Member Functions | |
| JacORBLoggerFactory () | |
| final String | getLoggingBackendName () |
| org.apache.avalon.framework.logger.Logger | getNamedLogger (String name) |
| org.apache.avalon.framework.logger.Logger | getNamedLogger (String name, String fileName, long maxFileSize) throws IOException |
| org.apache.avalon.framework.logger.Logger | getNamedRootLogger (String name) |
| void | setDefaultLogFile (String fileName, long maxLogSize) throws IOException |
| void | configure (Configuration conf) throws ConfigurationException |
Private Attributes | |
| Jdk14Logger | delegate |
| int | jacOrbVerbosity |
Static Private Attributes | |
| static final String | BACKEND_NAME = "jdk14" |
Logger factory that can be forced upon JacORB version 2.x via the jacorb.log.loggerFactory property. It creates Loggers through alma.acs.logging.ClientLogManager, which ensures that JacORB logs will be inserted in the central ACS log stream.
These loggers will be configured through the normal ACS logging configuration mechanisms, whereas the properties jacorb.log.default.verbosity, jacorb.logfile.append, and jacorb.log.default.log_pattern will be ignored. Note that at the moment we do use jacorb.log.default.verbosity as a workaround!
| alma::acs::logging::adapters::JacORBLoggerFactory::JacORBLoggerFactory | ( | ) | [inline] |
| void alma::acs::logging::adapters::JacORBLoggerFactory::configure | ( | Configuration | conf | ) | throws ConfigurationException [inline] |
References jacOrbVerbosity.
| final String alma::acs::logging::adapters::JacORBLoggerFactory::getLoggingBackendName | ( | ) | [inline] |
References BACKEND_NAME.
| org.apache.avalon.framework.logger.Logger alma::acs::logging::adapters::JacORBLoggerFactory::getNamedLogger | ( | String | name, | |
| String | fileName, | |||
| long | maxFileSize | |||
| ) | throws IOException [inline] |
Same as getNamedLogger(String). The file is ignored, and a respective warning message gets logged.
References getNamedLogger().
| org.apache.avalon.framework.logger.Logger alma::acs::logging::adapters::JacORBLoggerFactory::getNamedLogger | ( | String | name | ) | [inline] |
Returns an avalon logger which wraps the JDK logger obtained from ClientLogManager.
| name | the name (e.g. "jacorb.poa") is ignored, since we treat all jacorb logging with just one logger. |
References alma::acs::logging::AcsLogger::addLoggerClass(), delegate, jacOrbVerbosity, and alma::acs::logging::adapters::JacORBFilter::setLogLevel().
Referenced by getNamedLogger(), and getNamedRootLogger().
| org.apache.avalon.framework.logger.Logger alma::acs::logging::adapters::JacORBLoggerFactory::getNamedRootLogger | ( | String | name | ) | [inline] |
Returns getNamedLogger(String). The distinction between root loggers and other loggers we don't need here, since the questions of console vs. file vs. remote logging are left to ACS.
References getNamedLogger().
| void alma::acs::logging::adapters::JacORBLoggerFactory::setDefaultLogFile | ( | String | fileName, | |
| long | maxLogSize | |||
| ) | throws IOException [inline] |
We ignore the log file, since ACS loggers forward to the central Log service.
final String alma::acs::logging::adapters::JacORBLoggerFactory::BACKEND_NAME = "jdk14" [static, private] |
Referenced by getLoggingBackendName().
Jdk14Logger alma::acs::logging::adapters::JacORBLoggerFactory::delegate [private] |
Referenced by getNamedLogger().
verbosity level 0-4 from jacorb property
Referenced by configure(), and getNamedLogger().
1.6.2