Package org.eclipse.jetty.start
Class StartLog
java.lang.Object
org.eclipse.jetty.start.StartLog
Centralized Place for logging.
Because startup cannot rely on Jetty's Logging, an alternative logging is established.
Optional behavior is to create a ${jetty.base}/logs/start.log with whatever output the startup process produces.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidstatic voidstatic voidstatic voidstatic StartLogstatic PrintStreamstatic voidvoidinitialize(BaseHome baseHome, CommandLineConfigSource cmdLineSource) voidinitLogFile(Path logfile) static booleanstatic PrintStreamsetStream(PrintStream stream) static voidstatic voidstatic void
-
Constructor Details
-
StartLog
public StartLog()
-
-
Method Details
-
debug
-
debug
-
trace
-
getInstance
-
info
-
error
-
warn
-
warn
-
isDebugEnabled
public static boolean isDebugEnabled() -
initialize
- Throws:
IOException
-
initLogFile
- Throws:
IOException
-
enableDebug
public static void enableDebug() -
endStartLog
public static void endStartLog() -
getStream
-
setStream
-