public class StartLog extends Object
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 and Description |
---|
StartLog() |
Modifier and Type | Method and Description |
---|---|
static void |
debug(String format,
Object... args) |
static void |
debug(Throwable t) |
static void |
enableDebug() |
static void |
endStartLog() |
static StartLog |
getInstance() |
static void |
info(String format,
Object... args) |
void |
initialize(BaseHome baseHome,
CommandLineConfigSource cmdLineSource) |
void |
initLogFile(Path logfile) |
static boolean |
isDebugEnabled() |
static void |
log(String type,
String msg) |
static void |
log(String type,
String format,
Object... args) |
static void |
trace(String format,
Object... args) |
static void |
warn(String format,
Object... args) |
static void |
warn(Throwable t) |
public static void debug(Throwable t)
public static StartLog getInstance()
public static void warn(Throwable t)
public static boolean isDebugEnabled()
public void initialize(BaseHome baseHome, CommandLineConfigSource cmdLineSource) throws IOException
IOException
public void initLogFile(Path logfile) throws IOException
IOException
public static void enableDebug()
public static void endStartLog()
Copyright © 1995-2015 Webtide. All Rights Reserved.