Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
try {
logging.getDeclaredMethod("getTimeStamp");
} catch (NoSuchMethodException e) {
try {
logging.getDeclaredMethod("getTimeStamp");
} catch (NoSuchMethodException e) {
+ System.err.println("Warning: The loaded log4j library is too old. Log4j tracing with LTTng will be disabled.");
return false;
} catch (NullPointerException e) {
/* Should never happen */
return false;
} catch (NullPointerException e) {
/* Should never happen */