public final class Log extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getContextId()
Retrieves the current diagnostic context identifier for this thread.
|
static TranslationBundle |
getTranslationBundle()
Retrieves the active translation bundle.
|
static void |
log_1050(String detectingClass,
String detectingMethod,
String subjectClass,
String subjectMethod,
String detail)
Logs message 1050, in the log entry group Low-level generic messages.
|
static void |
log_1051(String exceptionClass,
String exceptionMessage,
String detectingClass,
String detectingMethod,
String subjectClass,
String subjectMethod,
String detail)
Logs message 1051, in the log entry group Low-level generic messages.
|
static void |
log_1052(Throwable _exception,
String detectingClass,
String detectingMethod,
String subjectClass,
String subjectMethod,
String detail)
Logs message 1052, in the log entry group Low-level generic messages.
|
static void |
log_1053(String message)
Logs message 1053, in the log entry group Low-level generic messages.
|
static void |
log_1100(String url,
Object parameters)
Logs message 1100, in the log entry group HTTP-related.
|
static void |
log_1101(String url,
Object parameters,
long duration)
Logs message 1101, in the log entry group HTTP-related.
|
static void |
log_1102(String url,
Object parameters,
long duration)
Logs message 1102, in the log entry group HTTP-related.
|
static void |
log_1103(String url,
Object parameters,
long duration)
Logs message 1103, in the log entry group HTTP-related.
|
static void |
log_1104(String url,
Object parameters,
long duration,
int timeOut)
Logs message 1104, in the log entry group HTTP-related.
|
static void |
log_1105(String url,
Object parameters,
long duration,
int timeOut)
Logs message 1105, in the log entry group HTTP-related.
|
static void |
log_1106(String url,
Object parameters,
long duration,
int timeOut)
Logs message 1106, in the log entry group HTTP-related.
|
static void |
log_1107(String url,
Object parameters,
long duration,
int code)
Logs message 1107, in the log entry group HTTP-related.
|
static void |
log_1108(String url,
Object parameters,
long duration,
int code)
Logs message 1108, in the log entry group HTTP-related.
|
static void |
log_1109(Throwable _exception,
String url,
Object parameters,
long duration)
Logs message 1109, in the log entry group HTTP-related.
|
static void |
log_1110(String url,
Object parameters,
long duration)
Logs message 1110, in the log entry group HTTP-related.
|
static void |
log_1200(int id,
String file,
int interval)
Logs message 1200, in the log entry group General I/O.
|
static void |
log_1201(int id,
String file,
int oldInterval,
int newInterval)
Logs message 1201, in the log entry group General I/O.
|
static void |
log_1202(int id,
String file)
Logs message 1202, in the log entry group General I/O.
|
static void |
log_1203(int id,
String file)
Logs message 1203, in the log entry group General I/O.
|
static void |
log_1204(Throwable _exception)
Logs message 1204, in the log entry group General I/O.
|
static void |
log_1250(int currentCapacity,
int newCapacity)
Logs message 1250, in the log entry group Text.
|
static void |
log_1300(Throwable _exception,
String url)
Logs message 1300, in the log entry group Service calling framework.
|
static void |
log_1301(String url)
Logs message 1301, in the log entry group Service calling framework.
|
static void |
log_1302(String url)
Logs message 1302, in the log entry group Service calling framework.
|
static void |
log_1303()
Logs message 1303, in the log entry group Service calling framework.
|
static void |
log_1304()
Logs message 1304, in the log entry group Service calling framework.
|
static void |
log_1305()
Logs message 1305, in the log entry group Service calling framework.
|
static void |
log_1306()
Logs message 1306, in the log entry group Service calling framework.
|
static void |
log_1307()
Logs message 1307, in the log entry group Service calling framework.
|
static void |
log_1308(String url)
Logs message 1308, in the log entry group Service calling framework.
|
static void |
log_1309(String url)
Logs message 1309, in the log entry group Service calling framework.
|
static void |
log_1350(String key,
String oldValue,
String newValue)
Logs message 1350, in the log entry group Generic collection classes.
|
static void |
log_1351(String key,
String oldValue,
String newValue)
Logs message 1351, in the log entry group Generic collection classes.
|
static void |
log_1400(int folderInstanceNumber,
String folderName,
int expired)
Logs message 1400, in the log entry group Expiry-related collection classes.
|
static void |
log_1401(int folderInstanceNumber,
String folderName,
int strategyInstanceNumber)
Logs message 1401, in the log entry group Expiry-related collection classes.
|
static void |
log_1402(int instanceNumber)
Logs message 1402, in the log entry group Expiry-related collection classes.
|
static void |
log_1403(int instanceNumber)
Logs message 1403, in the log entry group Expiry-related collection classes.
|
static void |
log_1404(int instanceNumber,
long duration)
Logs message 1404, in the log entry group Expiry-related collection classes.
|
static void |
log_1405(int instanceNumber,
long duration)
Logs message 1405, in the log entry group Expiry-related collection classes.
|
static void |
log_1406(int instanceNumber,
long duration)
Logs message 1406, in the log entry group Expiry-related collection classes.
|
static void |
log_1407(int instanceNumber)
Logs message 1407, in the log entry group Expiry-related collection classes.
|
static void |
log_1408(int instanceNumber,
String name)
Logs message 1408, in the log entry group Expiry-related collection classes.
|
static void |
log_1409(int instanceNumber,
long timeOut,
long precision)
Logs message 1409, in the log entry group Expiry-related collection classes.
|
static void |
log_1500(int port)
Logs message 1500, in the log entry group Servlet container.
|
static void |
log_1501(Throwable _exception)
Logs message 1501, in the log entry group Servlet container.
|
static void |
log_1502(Throwable _exception)
Logs message 1502, in the log entry group Servlet container.
|
static void |
log_1503(String warFile)
Logs message 1503, in the log entry group Servlet container.
|
static void |
log_1504(String query)
Logs message 1504, in the log entry group Servlet container.
|
static void |
log_1505(Throwable _exception)
Logs message 1505, in the log entry group Servlet container.
|
static void |
log_1506(String response,
int status)
Logs message 1506, in the log entry group Servlet container.
|
static void |
log_1507()
Logs message 1507, in the log entry group Servlet container.
|
static void |
log_1508(Throwable _exception)
Logs message 1508, in the log entry group Servlet container.
|
static void |
log_1509(Throwable _exception)
Logs message 1509, in the log entry group Servlet container.
|
static void |
log_1510(String message)
Logs message 1510, in the log entry group Servlet container.
|
static void |
log_1511(Throwable _exception,
String message)
Logs message 1511, in the log entry group Servlet container.
|
static void |
log_1512(Throwable _exception)
Logs message 1512, in the log entry group Servlet container.
|
static void |
log_1513(String url)
Logs message 1513, in the log entry group Servlet container.
|
static void |
log_1514(String location,
String reason)
Logs message 1514, in the log entry group Servlet container.
|
static void |
log_1550(Throwable _exception)
Logs message 1550, in the log entry group XML.
|
static void |
log_1600(String value,
String valueClass,
String destClass,
String exceptionClass,
String reason)
Logs message 1600, in the log entry group Utilities.
|
static void |
putContextId(String newContextId)
Sets the diagnostic context identifier for this thread.
|
static void |
unputContextId()
Unsets the diagnostic context identifier for this thread.
|
public static void putContextId(String newContextId)
newContextId
- the new diagnostic context identifier for this thread, cannot be null
.public static void unputContextId()
public static String getContextId()
null
if none.public static TranslationBundle getTranslationBundle()
null
.public static final void log_1050(String detectingClass, String detectingMethod, String subjectClass, String subjectMethod, String detail)
Programming error (not due to an unexpected exception).
public static final void log_1051(String exceptionClass, String exceptionMessage, String detectingClass, String detectingMethod, String subjectClass, String subjectMethod, String detail)
Ignoring allowable exception.
public static final void log_1052(Throwable _exception, String detectingClass, String detectingMethod, String subjectClass, String subjectMethod, String detail)
Programming error (unexpected exception).
public static final void log_1053(String message)
Untranslated debug message.
public static final void log_1100(String url, Object parameters)
Calling HTTP service.
public static final void log_1101(String url, Object parameters, long duration)
HTTP service called.
public static final void log_1102(String url, Object parameters, long duration)
Unknown host error while calling HTTP service.
public static final void log_1103(String url, Object parameters, long duration)
Connection refused while calling HTTP service.
public static final void log_1104(String url, Object parameters, long duration, int timeOut)
Connection time-out while calling HTTP service.
public static final void log_1105(String url, Object parameters, long duration, int timeOut)
Socket time-out while calling HTTP service.
public static final void log_1106(String url, Object parameters, long duration, int timeOut)
Total call time-out while calling HTTP service.
public static final void log_1107(String url, Object parameters, long duration, int code)
HTTP result received, status code is considered acceptable.
public static final void log_1108(String url, Object parameters, long duration, int code)
HTTP result received, status code is considered unacceptable.
public static final void log_1109(Throwable _exception, String url, Object parameters, long duration)
Unrecognized I/O error while calling HTTP service.
public static final void log_1110(String url, Object parameters, long duration)
No route to host while calling HTTP service.
public static final void log_1200(int id, String file, int interval)
Starting file watch thread.
public static final void log_1201(int id, String file, int oldInterval, int newInterval)
Changing file watch interval.
public static final void log_1202(int id, String file)
Stopping file watch thread.
public static final void log_1203(int id, String file)
Stopped file watch thread.
public static final void log_1204(Throwable _exception)
I/O Error for the HTTPFileWatcher.
public static final void log_1250(int currentCapacity, int newCapacity)
Increasing capacity of FastStringBuffer instance.
public static final void log_1300(Throwable _exception, String url)
URL is malformed.
public static final void log_1301(String url)
Call to a specific target succeeded.
public static final void log_1302(String url)
Call to a specific target failed.
public static final void log_1303()
Call completely failed.
public static final void log_1304()
No more targets and no fail-over
public static final void log_1305()
No more targets, but fail-over would be allowed
public static final void log_1306()
More targets available, but fail-over is not allowed
public static final void log_1307()
More targets available and fail-over is allowed
public static final void log_1308(String url)
Unsupported protocol.
public static final void log_1309(String url)
Calling target.
public static final void log_1350(String key, String oldValue, String newValue)
A property value has changed.
public static final void log_1351(String key, String oldValue, String newValue)
A property value has changed.
public static final void log_1400(int folderInstanceNumber, String folderName, int expired)
Tick processed by expiry folder.
public static final void log_1401(int folderInstanceNumber, String folderName, int strategyInstanceNumber)
Associating expiry folder with expiry stategy thread.
public static final void log_1402(int instanceNumber)
Expiry strategy thread started.
public static final void log_1403(int instanceNumber)
Expiry strategy thread stopped.
public static final void log_1404(int instanceNumber, long duration)
Sleeping in expiry strategy thread.
public static final void log_1405(int instanceNumber, long duration)
Sleep interrupted in expiry strategy thread.
public static final void log_1406(int instanceNumber, long duration)
Woke up after sleeping in expiry strategy thread.
public static final void log_1407(int instanceNumber)
Triggering tick in expiry strategy thread.
public static final void log_1408(int instanceNumber, String name)
Constructed a new expiry folder
public static final void log_1409(int instanceNumber, long timeOut, long precision)
Constructed a new expiry strategy.
public static final void log_1500(int port)
HTTP Servlet container started on a specific port.
public static final void log_1501(Throwable _exception)
The HTTP Servlet container has thrown an I/O exception.
public static final void log_1502(Throwable _exception)
Error when closing the HTTP Servlet container.
public static final void log_1503(String warFile)
Loading and initializing the Servlet.
public static final void log_1504(String query)
Performing a query to the API.
public static final void log_1505(Throwable _exception)
Query to the API failed.
public static final void log_1506(String response, int status)
Query to the API succeeded.
public static final void log_1507()
Closing the Servlet container.
public static final void log_1508(Throwable _exception)
Failed to load the Servlet due to a Servlet exception.
public static final void log_1509(Throwable _exception)
Failed to load the Servlet due to a generic exception.
public static final void log_1510(String message)
Message logged using the Servlet context.
public static final void log_1511(Throwable _exception, String message)
Exception logged using the Servlet context.
public static final void log_1512(Throwable _exception)
Failed to load or parse the WEB_INF/web.xml file.
public static final void log_1513(String url)
Incorrect URL.
public static final void log_1514(String location, String reason)
Resource not found.
public static final void log_1550(Throwable _exception)
Unable to create a SAX parser.
See http://www.xins.org/.