You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the code is trying to figure out the JUL caller, even in cases where we are just logging our System.out.print "events". inferCaller is expensive so we need to stop doing that.
4XESTACKTRACE at java/lang/J9VMInternals.getStackTrace(Native Method)
4XESTACKTRACE at java/lang/Throwable.getInternalStackTrace(Throwable.java:284(Compiled Code))
4XESTACKTRACE at java/lang/Access.getStackTraceDepth(Access.java:117(Compiled Code))
4XESTACKTRACE at java/util/logging/LogRecord.inferCaller(LogRecord.java:557(Compiled Code))
4XESTACKTRACE at java/util/logging/LogRecord.getSourceClassName(LogRecord.java:319(Compiled Code))
4XESTACKTRACE at com/ibm/ws/logging/internal/impl/BaseTraceFormatter.messageLogFormat(BaseTraceFormatter.java:462(Compiled Code))
4XESTACKTRACE at com/ibm/ws/logging/internal/impl/BaseTraceService.invokeMessageRouters(BaseTraceService.java:712(Compiled Code))
4XESTACKTRACE at com/ibm/ws/logging/internal/impl/BaseTraceService.echo(BaseTraceService.java:644(Compiled Code))
4XESTACKTRACE at com/ibm/ws/logging/internal/impl/BaseTraceService$TrOutputStream.flush(BaseTraceService.java:1248(Compiled Code)) 5XESTACKTRACE (entered lock: com/ibm/ws/logging/internal/impl/BaseTraceService$TrOutputStream@0x00000000E02E4150, entry count: 1)
4XESTACKTRACE at java/io/PrintStream.write(PrintStream.java:506(Compiled Code)) 5XESTACKTRACE (entered lock: com/ibm/ws/logging/internal/impl/BaseTraceService$TeePrintStream@0x00000000E02D5EC8, entry count: 1)
The text was updated successfully, but these errors were encountered:
donbourne
changed the title
Avoid inferring caller in LogRecord.getSourceClassName when processing System.out calls
Avoid inferring caller in LogRecord.getSourceClassName and getSourceMethodName when processing System.out calls
May 6, 2019
Currently the code is trying to figure out the JUL caller, even in cases where we are just logging our System.out.print "events". inferCaller is expensive so we need to stop doing that.
The text was updated successfully, but these errors were encountered: