org.openmdx.kernel.log
Class RemoteSinkLog

java.lang.Object
  extended by org.openmdx.kernel.log.impl.Log
      extended by org.openmdx.kernel.log.RemoteSinkLog
All Implemented Interfaces:
MechanismManagerListener, ManageableMechanism

public class RemoteSinkLog
extends Log

The RemoteSinkLog class is used to log events received by the remote sink servlet. It must not be used by applications.


Field Summary
 
Fields inherited from class org.openmdx.kernel.log.impl.Log
isMicrosoftVM
 
Method Summary
static Config getLogConfig()
          Returns the logger's configuration object
static void log(LogEvent event)
          Logs a remote log event
static void setConfigName(String cfgName)
          Set the config name that the logs pertain to.
static void setLogProperties(Properties props)
          Sets the log properties [Config-Level-3].
 
Methods inherited from class org.openmdx.kernel.log.impl.Log
finalize, getActiveEntities, getBootstrapLogger, getConfig, getDateOpened, getHostName, getLogClassName, getLoggingLevel, getLogProperties, getMechanismManager, getName, getReadableEntities, getReader, getRemoveableEntities, isBooted, isLoggingPerformance, isLoggingStatistics, loadConfig, loadMechanisms, logEvent, logString, mechanismAddedEvent, mechanismRemovedEvent, newLog, removeEntity, setApplicationControlledTrace, setLoggingLevel, setLoggingPerformance, setLoggingStatistics, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

setConfigName

public static void setConfigName(String cfgName)
Set the config name that the logs pertain to. Must be called before doing any logging.

Parameters:
cfgName - - the config name

setLogProperties

public static void setLogProperties(Properties props)
Sets the log properties [Config-Level-3]. setLogProperties() must be called before doing any logging.

Parameters:
properties - - the properties

getLogConfig

public static Config getLogConfig()
Returns the logger's configuration object

Returns:
the configuration object

log

public static void log(LogEvent event)
Logs a remote log event

Parameters:
event - A log event


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.