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
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static void
static void
static void
static StartLog
static PrintStream
static void
void
initialize
(BaseHome baseHome, CommandLineConfigSource cmdLineSource) void
initLogFile
(Path logfile) static boolean
static PrintStream
setStream
(PrintStream stream) static void
static void
static 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
-