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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private static PrintStream
private static final StartLog
private static PrintStream
private static PrintStream
private static final PrintStream
private static final PrintStream
private boolean
-
Constructor Summary
Constructors -
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 void
static void
static PrintStream
setStream
(PrintStream stream) static void
static void
static void
-
Field Details
-
stdout
-
stderr
-
out
-
err
-
logStream
-
INSTANCE
-
trace
private boolean trace -
debug
private boolean debug
-
-
Constructor Details
-
StartLog
public StartLog()
-
-
Method Details
-
debug
-
trace
-
debug
-
getInstance
-
log
-
log
-
info
-
warn
-
error
-
warn
-
isDebugEnabled
public static boolean isDebugEnabled() -
initialize
- Throws:
IOException
-
initLogFile
- Throws:
IOException
-
enableDebug
public static void enableDebug() -
endStartLog
public static void endStartLog() -
getStream
-
setStream
-