Node Director
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
sfi.director.util.Logger Class Reference
Inheritance diagram for sfi.director.util.Logger:
sfi.director.application.FrontendLogger sfi.director.cli.CLILogger sfi.director.invoker.AgentLogger sfi.director.jobs.JobLogger

Public Member Functions

 Logger (Object key)
void setSubthread (Thread subthread)
void unregister ()
void unregister (Thread thread)
Logger getLogger (Object key)
Logger getLogger ()
Logger createLogger (Object key)
void indent ()
void indent (Object key)
int getIndent ()
int getIndent (Object key)
int iGetIndent ()
void outdent ()
void outdent (Object key)
void close ()
void close (Object key)
void setTitle (String title)
void setTitle (Object key, String title)
void setChain (Logger up)
void setChain (Object key, Logger up)
void iSetChain (Logger up)
void log (int kind, String message)
void log (LogEntry log)
void log (Object key, LogEntry log)
void syslog (LogEntry log)

Static Public Member Functions

static void register (Object key, Logger thelogger)
static int monitoredSize ()
static void register (Logger thelogger)
static void clearLoggers ()
static Object getKey ()

Static Public Attributes

static final int DEBUG = 0
static final int INFO = 1
static final int NOTICE = 2
static final int WARNING = 3
static final int ERR = 4
static final int CRIT = 5
static final int ALERT = 6
static final int EMERG = 7
static int syslogErrors = 0
static final String[] syslogLevels

Protected Member Functions

void iIndent ()
void iOutdent ()
void iClose ()
void iSetTitle (String title)
void iLog (LogEntry log)

Constructor & Destructor Documentation

sfi.director.util.Logger.Logger ( Object  key)

Member Function Documentation

static void sfi.director.util.Logger.clearLoggers ( )
static
void sfi.director.util.Logger.close ( )
void sfi.director.util.Logger.close ( Object  key)
Logger sfi.director.util.Logger.createLogger ( Object  key)
int sfi.director.util.Logger.getIndent ( )
int sfi.director.util.Logger.getIndent ( Object  key)
static Object sfi.director.util.Logger.getKey ( )
static
Logger sfi.director.util.Logger.getLogger ( Object  key)
Logger sfi.director.util.Logger.getLogger ( )
void sfi.director.util.Logger.iClose ( )
protected
int sfi.director.util.Logger.iGetIndent ( )
void sfi.director.util.Logger.iIndent ( )
protected
void sfi.director.util.Logger.iLog ( LogEntry  log)
protected
void sfi.director.util.Logger.indent ( )
void sfi.director.util.Logger.indent ( Object  key)
void sfi.director.util.Logger.iOutdent ( )
protected
void sfi.director.util.Logger.iSetChain ( Logger  up)
void sfi.director.util.Logger.iSetTitle ( String  title)
protected
void sfi.director.util.Logger.log ( int  kind,
String  message 
)
void sfi.director.util.Logger.log ( LogEntry  log)
void sfi.director.util.Logger.log ( Object  key,
LogEntry  log 
)
static int sfi.director.util.Logger.monitoredSize ( )
static
void sfi.director.util.Logger.outdent ( )
void sfi.director.util.Logger.outdent ( Object  key)
static void sfi.director.util.Logger.register ( Object  key,
Logger  thelogger 
)
static
static void sfi.director.util.Logger.register ( Logger  thelogger)
static
void sfi.director.util.Logger.setChain ( Logger  up)
void sfi.director.util.Logger.setChain ( Object  key,
Logger  up 
)
void sfi.director.util.Logger.setSubthread ( Thread  subthread)
void sfi.director.util.Logger.setTitle ( String  title)
void sfi.director.util.Logger.setTitle ( Object  key,
String  title 
)
void sfi.director.util.Logger.syslog ( LogEntry  log)
void sfi.director.util.Logger.unregister ( )
void sfi.director.util.Logger.unregister ( Thread  thread)

Member Data Documentation

final int sfi.director.util.Logger.ALERT = 6
static
final int sfi.director.util.Logger.CRIT = 5
static
final int sfi.director.util.Logger.DEBUG = 0
static
final int sfi.director.util.Logger.EMERG = 7
static
final int sfi.director.util.Logger.ERR = 4
static
final int sfi.director.util.Logger.INFO = 1
static
final int sfi.director.util.Logger.NOTICE = 2
static

Referenced by sfi.director.application.HostPackages.autosubscribe(), sfi.director.application.autodoc.DocBuilder.cleanDocMedia(), sfi.director.application.autodoc.CollectWinWMIPartitions.collect(), sfi.director.application.autodoc.CollectWinWMIHW.collect(), sfi.director.application.autodoc.CollectWinWMIApps.collect(), sfi.director.application.autodoc.CollectLshw.collect(), sfi.director.executor.CmdExecutor.connect(), sfi.director.application.scripttask.D3HostDefine.create(), sfi.director.application.objevents.Workflow.doEvent(), sfi.director.util.Tools.doEvent(), sfi.director.cli.create.edit(), sfi.director.application.scripttask.WakeOnLan.exec(), sfi.director.application.executor.appInventoryPush.exec(), sfi.director.application.scripttask.ZoneUpdated.exec(), sfi.director.application.executor.InstallFromArchive.exec(), sfi.director.application.scripttask.StoreAsDBChoice.exec(), sfi.director.application.scripttask.ReloadService.exec(), sfi.director.application.scripttask.BuildDependingDomains.exec(), sfi.director.application.scripttask.CreateHomeDB.exec(), sfi.director.application.executor.InstallFromZIP.exec(), sfi.director.util.Tools.execFilter(), sfi.director.schedule.Scheduler.executeCmd(), sfi.director.application.FrontendInterface.executeCommand(), sfi.director.util.Tools.executeLocalqueue(), sfi.director.schedule.Scheduler.executePendingDSUpdate(), sfi.director.application.HostPackages.forPkg(), sfi.director.application.DirectorPackage.freeze(), sfi.director.application.Report.generate(), sfi.director.cli.CLILogger.iLog(), sfi.director.application.DirectorPackage.install(), sfi.director.application.InstallerOpenLDAP.installSchema(), sfi.director.invoker.StreamConnection.leanBackAndWait(), sfi.director.application.AdminServer.listen(), sfi.director.jobs.RawJobMonitor.log(), sfi.director.jobs.JobMonitor.log(), sfi.director.schedule.ParallelScheduler.markHeads(), sfi.director.jobs.JobMonitor.monitor(), sfi.director.schedule.Scheduler.notifyServer(), sfi.director.application.FrontendHTTPServer.parseLog(), sfi.director.cli.serverstatus.printStatus(), sfi.director.application.config.RestartServer.restart(), sfi.director.application.config.ConfigFileHandler.restore(), sfi.director.application.config.ConfigEngine.restore(), sfi.director.cli.docrefetch.run(), sfi.director.application.config.RunCommand.run(), sfi.director.cli.init.run(), sfi.director.cli.mkdepend.run(), sfi.director.cli.serverstatus.run(), sfi.director.cli.app_subscribe.run(), sfi.director.cli.queueworker.run(), sfi.director.application.PackageManager.scanRepository(), sfi.director.jobs.JobNode.setStatus(), sfi.director.cli.CLILogger.syslog(), sfi.director.application.RPMPackageHandler.targetInstallPkgs(), sfi.director.application.DEBPackageHandler.targetInstallPkgs(), sfi.director.application.RPMPackageHandler.targetRemovePkgs(), sfi.director.application.DEBPackageHandler.targetRemovePkgs(), sfi.director.cli.sfidirector.trackJob(), sfi.director.util.Tools.trackJob(), sfi.director.application.scripttask.ZoneUpdated.updateSerial(), and sfi.director.application.objevents.Workflow.watch().

int sfi.director.util.Logger.syslogErrors = 0
static
final String [] sfi.director.util.Logger.syslogLevels
static
Initial value:
new String[] {
"debug",
"info",
"notice",
"warning",
"err",
"crit",
"alert",
"emerg"
}

Referenced by sfi.director.util.LogEntry.getLevelStr().

final int sfi.director.util.Logger.WARNING = 3
static

Referenced by sfi.director.invoker.StreamConnection.agentlistener(), sfi.director.repository.config.DirectoryAccess.apply(), sfi.director.util.Tools.applyModifier(), sfi.director.application.DEBPackageHandler.aptPkgFromFile(), sfi.director.util.Tools.backupFile(), sfi.director.cli.build.buildAll(), sfi.director.application.autodoc.ConfigFile.citeFile(), sfi.director.application.autodoc.CollectServices.collect(), sfi.director.application.autodoc.InfoCollector.collectInto(), sfi.director.application.scripttask.ReloadService.create(), sfi.director.application.scripttask.ZoneUpdated.create(), sfi.director.application.scripttask.AppInstallHost.createPackage(), sfi.director.application.InstallerOpenLDAP.delDB(), sfi.director.schedule.ParallelScheduler.detach(), sfi.director.application.objevents.Workflow.doEvent(), sfi.director.util.Tools.doEvent(), sfi.director.cli.create.edit(), sfi.director.application.FrontendHTTPServer.emulateRootUser(), sfi.director.application.scripttask.ApplyDomainTemplate.exec(), sfi.director.application.executor.InstallFromArchive.exec(), sfi.director.application.executor.InstallFromZIP.exec(), sfi.director.schedule.ParallelScheduler.executeCmd(), sfi.director.schedule.Scheduler.executeCmd(), sfi.director.schedule.Scheduler.executePendingDSUpdate(), sfi.director.schedule.ParallelScheduler.finalize(), sfi.director.util.MyProperties.getPropertyBoolean(), sfi.director.util.MyProperties.getPropertyInteger(), sfi.director.schedule.ParallelScheduler.goThroughQueue(), sfi.director.schedule.SimpleScheduler.goThroughVector(), sfi.director.cli.CLILogger.iLog(), sfi.director.util.Logger.iLog(), sfi.director.repository.NCUserSettingsFile.init(), sfi.director.application.config.ConfigEngine.init(), sfi.director.application.AdminServer.listen(), sfi.director.util.Lock.Lock(), sfi.director.util.BackgroundProcessMonitor.monitor(), sfi.director.schedule.ParallelScheduler.parallelizedExec(), sfi.director.application.config.GenericFileHandler.readConfig(), sfi.director.application.autodoc.DocExtDocu.retrieve(), sfi.director.cli.shutdown.run(), sfi.director.cli.init.run(), sfi.director.cli.queueworker.run(), sfi.director.cli.frinterface.run(), sfi.director.schedule.ParallelScheduler.saveQueue(), sfi.director.application.FrontendHTTPServer.serve(), sfi.director.repository.JDBC.setURL(), sfi.director.repository.LDAP.setURL(), sfi.director.repository.LDAPndk.setURL(), sfi.director.repository.transform.ExpandGroupOfGroups.transform(), sfi.director.jobs.JobMonitor.traverse(), sfi.director.util.Tools.waitThreads(), sfi.director.application.autodoc.CollectWinProxy.wmiData(), and sfi.director.util.Tools.workingWaitFor().


The documentation for this class was generated from the following file: