Package | Description |
---|---|
tap.log | |
uws.service.file | |
uws.service.log |
Modifier and Type | Method and Description |
---|---|
void |
TAPLog.logDB(UWSLog.LogLevel level,
DBConnection connection,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error)
Log a message and/or an error in the DB (database) context.
|
void |
Slf4jTAPLog.logDB(UWSLog.LogLevel level,
DBConnection connection,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error) |
void |
DefaultTAPLog.logDB(UWSLog.LogLevel level,
DBConnection connection,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error) |
void |
TAPLog.logTAP(UWSLog.LogLevel level,
java.lang.Object obj,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error)
Log a message and/or an error in the general context of TAP.
|
void |
Slf4jTAPLog.logTAP(UWSLog.LogLevel level,
java.lang.Object obj,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error) |
void |
DefaultTAPLog.logTAP(UWSLog.LogLevel level,
java.lang.Object obj,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error) |
Modifier and Type | Method and Description |
---|---|
protected java.io.File |
LocalUWSFileManager.getLogFile(UWSLog.LogLevel level,
java.lang.String context)
Gets the UWS log file.
|
protected java.lang.String |
LocalUWSFileManager.getLogFileName(UWSLog.LogLevel level,
java.lang.String context)
Gets the name of the UWS log file.
|
java.io.InputStream |
LocalUWSFileManager.getLogInput(UWSLog.LogLevel level,
java.lang.String context) |
java.io.InputStream |
UWSFileManager.getLogInput(UWSLog.LogLevel level,
java.lang.String context)
Gets an input stream on the log file of this UWS.
|
java.io.PrintWriter |
LocalUWSFileManager.getLogOutput(UWSLog.LogLevel level,
java.lang.String context) |
java.io.PrintWriter |
UWSFileManager.getLogOutput(UWSLog.LogLevel level,
java.lang.String context)
Gets an output stream on the log file of this UWS.
|
Modifier and Type | Field and Description |
---|---|
protected UWSLog.LogLevel |
DefaultUWSLog.minLogLevel
Minimum level that a message must have in order to be logged.
|
Modifier and Type | Method and Description |
---|---|
UWSLog.LogLevel |
DefaultUWSLog.getMinLogLevel()
Get the minimum level that a message must have in order to be logged.
|
static UWSLog.LogLevel |
UWSLog.LogLevel.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UWSLog.LogLevel[] |
UWSLog.LogLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
DefaultUWSLog.canLog(UWSLog.LogLevel msgLevel)
Tells whether a message with the given error level can be logged or not.
|
protected java.io.PrintWriter |
DefaultUWSLog.getOutput(UWSLog.LogLevel level,
java.lang.String context)
Gets an output for the given type of message to print.
|
protected void |
Slf4jUWSLog.log(UWSLog.LogLevel level,
org.slf4j.Logger logger,
java.lang.String event,
java.lang.String ID,
java.lang.String message,
java.lang.String addColumn,
java.lang.Throwable error)
Logs a full message and/or error.
|
protected void |
DefaultUWSLog.log(UWSLog.LogLevel level,
java.lang.String context,
java.lang.String event,
java.lang.String ID,
java.lang.String message,
java.lang.String addColumn,
java.lang.Throwable error)
Logs a full message and/or error.
|
void |
DefaultUWSLog.log(UWSLog.LogLevel level,
java.lang.String context,
java.lang.String message,
java.lang.Throwable error) |
void |
Slf4jUWSLog.log(UWSLog.LogLevel level,
java.lang.String context,
java.lang.String message,
java.lang.Throwable error) |
void |
UWSLog.log(UWSLog.LogLevel level,
java.lang.String context,
java.lang.String message,
java.lang.Throwable error)
Generic way to log a message and/or an exception.
|
void |
DefaultUWSLog.logHttp(UWSLog.LogLevel level,
javax.servlet.http.HttpServletRequest request,
java.lang.String requestId,
java.lang.String message,
java.lang.Throwable error)
A message/error logged with this function will have the following format:
|
void |
Slf4jUWSLog.logHttp(UWSLog.LogLevel level,
javax.servlet.http.HttpServletRequest request,
java.lang.String requestId,
java.lang.String message,
java.lang.Throwable error) |
void |
UWSLog.logHttp(UWSLog.LogLevel level,
javax.servlet.http.HttpServletRequest request,
java.lang.String requestId,
java.lang.String message,
java.lang.Throwable error)
Log a message and/or an error in the HTTP context.
|
void |
DefaultUWSLog.logHttp(UWSLog.LogLevel level,
javax.servlet.http.HttpServletResponse response,
java.lang.String requestId,
JobOwner user,
java.lang.String message,
java.lang.Throwable error)
A message/error logged with this function will have the following format:
|
void |
Slf4jUWSLog.logHttp(UWSLog.LogLevel level,
javax.servlet.http.HttpServletResponse response,
java.lang.String requestId,
JobOwner user,
java.lang.String message,
java.lang.Throwable error) |
void |
UWSLog.logHttp(UWSLog.LogLevel level,
javax.servlet.http.HttpServletResponse response,
java.lang.String requestId,
JobOwner user,
java.lang.String message,
java.lang.Throwable error)
Log a message and/or an error in the HTTP context.
|
void |
DefaultUWSLog.logJob(UWSLog.LogLevel level,
UWSJob job,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error) |
void |
Slf4jUWSLog.logJob(UWSLog.LogLevel level,
UWSJob job,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error) |
void |
UWSLog.logJob(UWSLog.LogLevel level,
UWSJob job,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error)
Log a message and/or an error in the JOB context.
|
void |
DefaultUWSLog.logThread(UWSLog.LogLevel level,
java.lang.Thread thread,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error) |
void |
Slf4jUWSLog.logThread(UWSLog.LogLevel level,
java.lang.Thread thread,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error) |
void |
UWSLog.logThread(UWSLog.LogLevel level,
java.lang.Thread thread,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error)
Log a message and/or an error in the THREAD context.
|
void |
DefaultUWSLog.logUWS(UWSLog.LogLevel level,
java.lang.Object obj,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error) |
void |
Slf4jUWSLog.logUWS(UWSLog.LogLevel level,
java.lang.Object obj,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error) |
void |
UWSLog.logUWS(UWSLog.LogLevel level,
java.lang.Object obj,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error)
Log a message and/or an error in the general context of UWS.
|
void |
DefaultUWSLog.setMinLogLevel(UWSLog.LogLevel newMinLevel)
Set the minimum level that a message must have in order to be logged.
|