org.xins.common
Class Log

java.lang.Object
  extended byorg.xins.logdoc.AbstractLog
      extended byorg.xins.common.Log

public class Log
extends AbstractLog

Central logging handler.

Since:
XINS 1.0.0

Nested Class Summary
 
Nested classes inherited from class org.xins.logdoc.AbstractLog
AbstractLog.LogController
 
Field Summary
 
Fields inherited from class org.xins.logdoc.AbstractLog
DEBUG, ERROR, FATAL, INFO, NOTICE, WARNING
 
Method Summary
static TranslationBundle getTranslationBundle()
          Retrieves the active translation bundle.
static void log_1050(String detectingClass, String detectingMethod, String subjectClass, String subjectMethod, String detail)
          Logs the entry with ID 1050, in the log entry group Low-level generic messages.
static void log_1051(Throwable _exception, String detectingClass, String detectingMethod, String subjectClass, String subjectMethod, String detail)
          Logs the entry with ID 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 the entry with ID 1052, in the log entry group Low-level generic messages.
static void log_1053(String message)
          Logs the entry with ID 1053, in the log entry group Low-level generic messages.
static void log_1100(String url, LogdocSerializable parameters, int totalTimeOut, int connectionTimeOut, int socketTimeOut)
          Logs the entry with ID 1100, in the log entry group HTTP-related.
static void log_1101(String url, LogdocSerializable parameters, long duration)
          Logs the entry with ID 1101, in the log entry group HTTP-related.
static void log_1102(String url, LogdocSerializable parameters, long duration)
          Logs the entry with ID 1102, in the log entry group HTTP-related.
static void log_1103(String url, LogdocSerializable parameters, long duration)
          Logs the entry with ID 1103, in the log entry group HTTP-related.
static void log_1104(String url, LogdocSerializable parameters, long duration, int timeOut)
          Logs the entry with ID 1104, in the log entry group HTTP-related.
static void log_1105(String url, LogdocSerializable parameters, long duration, int timeOut)
          Logs the entry with ID 1105, in the log entry group HTTP-related.
static void log_1106(String url, LogdocSerializable parameters, long duration, int timeOut)
          Logs the entry with ID 1106, in the log entry group HTTP-related.
static void log_1107(String url, LogdocSerializable parameters, long duration, int code)
          Logs the entry with ID 1107, in the log entry group HTTP-related.
static void log_1108(String url, LogdocSerializable parameters, long duration, int code)
          Logs the entry with ID 1108, in the log entry group HTTP-related.
static void log_1109(Throwable _exception, String url, LogdocSerializable parameters, long duration)
          Logs the entry with ID 1109, in the log entry group HTTP-related.
static void log_1110(String url, LogdocSerializable parameters, long duration)
          Logs the entry with ID 1110, in the log entry group HTTP-related.
static void log_1200(int id, String file, int interval)
          Logs the entry with ID 1200, in the log entry group General I/O.
static void log_1201(int id, String file, int oldInterval, int newInterval)
          Logs the entry with ID 1201, in the log entry group General I/O.
static void log_1202(int id, String file)
          Logs the entry with ID 1202, in the log entry group General I/O.
static void log_1203(int id)
          Logs the entry with ID 1203, in the log entry group General I/O.
static void log_1250(int currentCapacity, int newCapacity)
          Logs the entry with ID 1250, in the log entry group Text.
static void log_1300(Throwable _exception, String url)
          Logs the entry with ID 1300, in the log entry group Service calling framework.
static void log_1301(String url)
          Logs the entry with ID 1301, in the log entry group Service calling framework.
static void log_1302(String url)
          Logs the entry with ID 1302, in the log entry group Service calling framework.
static void log_1303()
          Logs the entry with ID 1303, in the log entry group Service calling framework.
static void log_1304()
          Logs the entry with ID 1304, in the log entry group Service calling framework.
static void log_1305()
          Logs the entry with ID 1305, in the log entry group Service calling framework.
static void log_1306()
          Logs the entry with ID 1306, in the log entry group Service calling framework.
static void log_1307()
          Logs the entry with ID 1307, in the log entry group Service calling framework.
static void log_1308(String url)
          Logs the entry with ID 1308, in the log entry group Service calling framework.
static void log_1350(String key, String oldValue, String newValue)
          Logs the entry with ID 1350, in the log entry group Generic collection classes.
static void log_1400(int folderInstanceNumber, String folderName, int expired)
          Logs the entry with ID 1400, in the log entry group Expiry-related collection classes.
static void log_1401(int folderInstanceNumber, String folderName, int strategyInstanceNumber)
          Logs the entry with ID 1401, in the log entry group Expiry-related collection classes.
static void log_1402(int instanceNumber)
          Logs the entry with ID 1402, in the log entry group Expiry-related collection classes.
static void log_1403(int instanceNumber)
          Logs the entry with ID 1403, in the log entry group Expiry-related collection classes.
static void log_1404(int instanceNumber, long duration)
          Logs the entry with ID 1404, in the log entry group Expiry-related collection classes.
static void log_1405(int instanceNumber, long duration)
          Logs the entry with ID 1405, in the log entry group Expiry-related collection classes.
static void log_1406(int instanceNumber, long duration)
          Logs the entry with ID 1406, in the log entry group Expiry-related collection classes.
static void log_1407(int instanceNumber)
          Logs the entry with ID 1407, in the log entry group Expiry-related collection classes.
static void log_1408(int instanceNumber, String name)
          Logs the entry with ID 1408, in the log entry group Expiry-related collection classes.
static void log_1409(int instanceNumber, long timeOut, long precision)
          Logs the entry with ID 1409, in the log entry group Expiry-related collection classes.
static void log_1500(int port)
          Logs the entry with ID 1500, in the log entry group Servlet container.
static void log_1501(Throwable _exception)
          Logs the entry with ID 1501, in the log entry group Servlet container.
static void log_1502(Throwable _exception)
          Logs the entry with ID 1502, in the log entry group Servlet container.
static void log_1503(String warFile)
          Logs the entry with ID 1503, in the log entry group Servlet container.
static void log_1504(String query)
          Logs the entry with ID 1504, in the log entry group Servlet container.
static void log_1505(Throwable _exception)
          Logs the entry with ID 1505, in the log entry group Servlet container.
static void log_1506(String response, int status)
          Logs the entry with ID 1506, in the log entry group Servlet container.
static void log_1507()
          Logs the entry with ID 1507, in the log entry group Servlet container.
static void log_1508(Throwable _exception)
          Logs the entry with ID 1508, in the log entry group Servlet container.
static void log_1509(Throwable _exception)
          Logs the entry with ID 1509, in the log entry group Servlet container.
static void log_1510(String message)
          Logs the entry with ID 1510, in the log entry group Servlet container.
static void log_1511(Throwable _exception, String message)
          Logs the entry with ID 1511, in the log entry group Servlet container.
static void log_1512(Throwable _exception)
          Logs the entry with ID 1512, in the log entry group Servlet container.
static void log_1513(String url)
          Logs the entry with ID 1513, in the log entry group Servlet container.
static void log_1514(String location, String reason)
          Logs the entry with ID 1514, in the log entry group Servlet container.
static void log_1550(Throwable _exception)
          Logs the entry with ID 1550, in the log entry group XML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTranslationBundle

public static final TranslationBundle getTranslationBundle()
Retrieves the active translation bundle.

Returns:
the translation bundle that is currently in use, never null.

log_1050

public static final void log_1050(String detectingClass,
                                  String detectingMethod,
                                  String subjectClass,
                                  String subjectMethod,
                                  String detail)
Logs the entry with ID 1050, in the log entry group Low-level generic messages. The description for this log entry is:
Programming error (not due to an unexpected exception).


log_1051

public static final void log_1051(Throwable _exception,
                                  String detectingClass,
                                  String detectingMethod,
                                  String subjectClass,
                                  String subjectMethod,
                                  String detail)
Logs the entry with ID 1051, in the log entry group Low-level generic messages. The description for this log entry is:
Ignoring allowable exception.


log_1052

public static final void log_1052(Throwable _exception,
                                  String detectingClass,
                                  String detectingMethod,
                                  String subjectClass,
                                  String subjectMethod,
                                  String detail)
Logs the entry with ID 1052, in the log entry group Low-level generic messages. The description for this log entry is:
Programming error (unexpected exception).


log_1053

public static final void log_1053(String message)
Logs the entry with ID 1053, in the log entry group Low-level generic messages. The description for this log entry is:
Untranslated debug message.


log_1100

public static final void log_1100(String url,
                                  LogdocSerializable parameters,
                                  int totalTimeOut,
                                  int connectionTimeOut,
                                  int socketTimeOut)
Logs the entry with ID 1100, in the log entry group HTTP-related. The description for this log entry is:
Calling HTTP service.


log_1101

public static final void log_1101(String url,
                                  LogdocSerializable parameters,
                                  long duration)
Logs the entry with ID 1101, in the log entry group HTTP-related. The description for this log entry is:
HTTP service called.


log_1102

public static final void log_1102(String url,
                                  LogdocSerializable parameters,
                                  long duration)
Logs the entry with ID 1102, in the log entry group HTTP-related. The description for this log entry is:
Unknown host error while calling HTTP service.


log_1103

public static final void log_1103(String url,
                                  LogdocSerializable parameters,
                                  long duration)
Logs the entry with ID 1103, in the log entry group HTTP-related. The description for this log entry is:
Connection refused while calling HTTP service.


log_1104

public static final void log_1104(String url,
                                  LogdocSerializable parameters,
                                  long duration,
                                  int timeOut)
Logs the entry with ID 1104, in the log entry group HTTP-related. The description for this log entry is:
Connection time-out while calling HTTP service.


log_1105

public static final void log_1105(String url,
                                  LogdocSerializable parameters,
                                  long duration,
                                  int timeOut)
Logs the entry with ID 1105, in the log entry group HTTP-related. The description for this log entry is:
Socket time-out while calling HTTP service.


log_1106

public static final void log_1106(String url,
                                  LogdocSerializable parameters,
                                  long duration,
                                  int timeOut)
Logs the entry with ID 1106, in the log entry group HTTP-related. The description for this log entry is:
Total call time-out while calling HTTP service.


log_1107

public static final void log_1107(String url,
                                  LogdocSerializable parameters,
                                  long duration,
                                  int code)
Logs the entry with ID 1107, in the log entry group HTTP-related. The description for this log entry is:
HTTP result received, status code is considered acceptable.


log_1108

public static final void log_1108(String url,
                                  LogdocSerializable parameters,
                                  long duration,
                                  int code)
Logs the entry with ID 1108, in the log entry group HTTP-related. The description for this log entry is:
HTTP result received, status code is considered unacceptable.


log_1109

public static final void log_1109(Throwable _exception,
                                  String url,
                                  LogdocSerializable parameters,
                                  long duration)
Logs the entry with ID 1109, in the log entry group HTTP-related. The description for this log entry is:
Unrecognized I/O error while calling HTTP service.


log_1110

public static final void log_1110(String url,
                                  LogdocSerializable parameters,
                                  long duration)
Logs the entry with ID 1110, in the log entry group HTTP-related. The description for this log entry is:
No route to host while calling HTTP service.


log_1200

public static final void log_1200(int id,
                                  String file,
                                  int interval)
Logs the entry with ID 1200, in the log entry group General I/O. The description for this log entry is:
Starting file watch thread.


log_1201

public static final void log_1201(int id,
                                  String file,
                                  int oldInterval,
                                  int newInterval)
Logs the entry with ID 1201, in the log entry group General I/O. The description for this log entry is:
Changing file watch interval.


log_1202

public static final void log_1202(int id,
                                  String file)
Logs the entry with ID 1202, in the log entry group General I/O. The description for this log entry is:
Stopping file watch thread.


log_1203

public static final void log_1203(int id)
Logs the entry with ID 1203, in the log entry group General I/O. The description for this log entry is:
Stopped file watch thread.


log_1250

public static final void log_1250(int currentCapacity,
                                  int newCapacity)
Logs the entry with ID 1250, in the log entry group Text. The description for this log entry is:
Increasing capacity of FastStringBuffer instance.


log_1300

public static final void log_1300(Throwable _exception,
                                  String url)
Logs the entry with ID 1300, in the log entry group Service calling framework. The description for this log entry is:
URL is malformed.


log_1301

public static final void log_1301(String url)
Logs the entry with ID 1301, in the log entry group Service calling framework. The description for this log entry is:
Call to a specific target succeeded.


log_1302

public static final void log_1302(String url)
Logs the entry with ID 1302, in the log entry group Service calling framework. The description for this log entry is:
Call to a specific target failed.


log_1303

public static final void log_1303()
Logs the entry with ID 1303, in the log entry group Service calling framework. The description for this log entry is:
Call completely failed.


log_1304

public static final void log_1304()
Logs the entry with ID 1304, in the log entry group Service calling framework. The description for this log entry is:
No more targets and no fail-over


log_1305

public static final void log_1305()
Logs the entry with ID 1305, in the log entry group Service calling framework. The description for this log entry is:
No more targets, but fail-over would be allowed


log_1306

public static final void log_1306()
Logs the entry with ID 1306, in the log entry group Service calling framework. The description for this log entry is:
More targets available, but fail-over is not allowed


log_1307

public static final void log_1307()
Logs the entry with ID 1307, in the log entry group Service calling framework. The description for this log entry is:
More targets available and fail-over is allowed


log_1308

public static final void log_1308(String url)
Logs the entry with ID 1308, in the log entry group Service calling framework. The description for this log entry is:
Unsupported protocol.


log_1350

public static final void log_1350(String key,
                                  String oldValue,
                                  String newValue)
Logs the entry with ID 1350, in the log entry group Generic collection classes. The description for this log entry is:
A property value has changed.


log_1400

public static final void log_1400(int folderInstanceNumber,
                                  String folderName,
                                  int expired)
Logs the entry with ID 1400, in the log entry group Expiry-related collection classes. The description for this log entry is:
Tick processed by expiry folder.


log_1401

public static final void log_1401(int folderInstanceNumber,
                                  String folderName,
                                  int strategyInstanceNumber)
Logs the entry with ID 1401, in the log entry group Expiry-related collection classes. The description for this log entry is:
Associating expiry folder with expiry stategy thread.


log_1402

public static final void log_1402(int instanceNumber)
Logs the entry with ID 1402, in the log entry group Expiry-related collection classes. The description for this log entry is:
Expiry strategy thread started.


log_1403

public static final void log_1403(int instanceNumber)
Logs the entry with ID 1403, in the log entry group Expiry-related collection classes. The description for this log entry is:
Expiry strategy thread stopped.


log_1404

public static final void log_1404(int instanceNumber,
                                  long duration)
Logs the entry with ID 1404, in the log entry group Expiry-related collection classes. The description for this log entry is:
Sleeping in expiry strategy thread.


log_1405

public static final void log_1405(int instanceNumber,
                                  long duration)
Logs the entry with ID 1405, in the log entry group Expiry-related collection classes. The description for this log entry is:
Sleep interrupted in expiry strategy thread.


log_1406

public static final void log_1406(int instanceNumber,
                                  long duration)
Logs the entry with ID 1406, in the log entry group Expiry-related collection classes. The description for this log entry is:
Woke up after sleeping in expiry strategy thread.


log_1407

public static final void log_1407(int instanceNumber)
Logs the entry with ID 1407, in the log entry group Expiry-related collection classes. The description for this log entry is:
Triggering tick in expiry strategy thread.


log_1408

public static final void log_1408(int instanceNumber,
                                  String name)
Logs the entry with ID 1408, in the log entry group Expiry-related collection classes. The description for this log entry is:
Constructed a new expiry folder


log_1409

public static final void log_1409(int instanceNumber,
                                  long timeOut,
                                  long precision)
Logs the entry with ID 1409, in the log entry group Expiry-related collection classes. The description for this log entry is:
Constructed a new expiry strategy.


log_1500

public static final void log_1500(int port)
Logs the entry with ID 1500, in the log entry group Servlet container. The description for this log entry is:
HTTP Servlet container started on a specific port.


log_1501

public static final void log_1501(Throwable _exception)
Logs the entry with ID 1501, in the log entry group Servlet container. The description for this log entry is:
The HTTP Servlet container has thrown an I/O exception.


log_1502

public static final void log_1502(Throwable _exception)
Logs the entry with ID 1502, in the log entry group Servlet container. The description for this log entry is:
Error when closing the HTTP Servlet container.


log_1503

public static final void log_1503(String warFile)
Logs the entry with ID 1503, in the log entry group Servlet container. The description for this log entry is:
Loading and initializing the Servlet.


log_1504

public static final void log_1504(String query)
Logs the entry with ID 1504, in the log entry group Servlet container. The description for this log entry is:
Performing a query to the API.


log_1505

public static final void log_1505(Throwable _exception)
Logs the entry with ID 1505, in the log entry group Servlet container. The description for this log entry is:
Query to the API failed.


log_1506

public static final void log_1506(String response,
                                  int status)
Logs the entry with ID 1506, in the log entry group Servlet container. The description for this log entry is:
Query to the API succeeded.


log_1507

public static final void log_1507()
Logs the entry with ID 1507, in the log entry group Servlet container. The description for this log entry is:
Closing the Servlet container.


log_1508

public static final void log_1508(Throwable _exception)
Logs the entry with ID 1508, in the log entry group Servlet container. The description for this log entry is:
Failed to load the Servlet due to a Servlet exception.


log_1509

public static final void log_1509(Throwable _exception)
Logs the entry with ID 1509, in the log entry group Servlet container. The description for this log entry is:
Failed to load the Servlet due to a generic exception.


log_1510

public static final void log_1510(String message)
Logs the entry with ID 1510, in the log entry group Servlet container. The description for this log entry is:
Message logged using the Servlet context.


log_1511

public static final void log_1511(Throwable _exception,
                                  String message)
Logs the entry with ID 1511, in the log entry group Servlet container. The description for this log entry is:
Exception logged using the Servlet context.


log_1512

public static final void log_1512(Throwable _exception)
Logs the entry with ID 1512, in the log entry group Servlet container. The description for this log entry is:
Failed to load or parse the WEB_INF/web.xml file.


log_1513

public static final void log_1513(String url)
Logs the entry with ID 1513, in the log entry group Servlet container. The description for this log entry is:
Incorrect URL.


log_1514

public static final void log_1514(String location,
                                  String reason)
Logs the entry with ID 1514, in the log entry group Servlet container. The description for this log entry is:
Resource not found.


log_1550

public static final void log_1550(Throwable _exception)
Logs the entry with ID 1550, in the log entry group XML. The description for this log entry is:
Unable to create a SAX parser.



See http://www.xins.org/.