org.neo4j.kernel.logging
Class LogbackService

java.lang.Object
  extended by org.neo4j.kernel.lifecycle.LifecycleAdapter
      extended by org.neo4j.kernel.logging.LogbackService
All Implemented Interfaces:
Lifecycle, Logging

public class LogbackService
extends LifecycleAdapter
implements Logging

Logging service that uses Logback as backend.


Field Summary
protected  RestartOnChange restartOnChange
           
 
Constructor Summary
LogbackService(Config config, LoggerContext loggerContext)
           
LogbackService(Config config, LoggerContext loggerContext, String logbackConfigurationFilename)
           
 
Method Summary
 ConsoleLogger getConsoleLog(Class loggingClass)
           
 org.neo4j.kernel.impl.util.StringLogger getMessagesLog(Class loggingClass)
           
 void init()
           
 void shutdown()
           
 
Methods inherited from class org.neo4j.kernel.lifecycle.LifecycleAdapter
start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

restartOnChange

protected RestartOnChange restartOnChange
Constructor Detail

LogbackService

public LogbackService(Config config,
                      LoggerContext loggerContext)

LogbackService

public LogbackService(Config config,
                      LoggerContext loggerContext,
                      String logbackConfigurationFilename)
Method Detail

init

public void init()
          throws Throwable
Specified by:
init in interface Lifecycle
Overrides:
init in class LifecycleAdapter
Throws:
Throwable

shutdown

public void shutdown()
              throws Throwable
Specified by:
shutdown in interface Lifecycle
Overrides:
shutdown in class LifecycleAdapter
Throws:
Throwable

getMessagesLog

public org.neo4j.kernel.impl.util.StringLogger getMessagesLog(Class loggingClass)
Specified by:
getMessagesLog in interface Logging

getConsoleLog

public ConsoleLogger getConsoleLog(Class loggingClass)
Specified by:
getConsoleLog in interface Logging


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.