
18 Nov
2008
18 Nov
'08
6:55 p.m.
Ceki Gulcu skrev:
Log4j can also determine the caller as can logback. Logback can also determine and print the caller of the caller, or the caller of the caller of the caller. See http://logback.qos.ch/manual/layouts.html#ClassicPatternLayout and then search for the "caller" conversion word. The caller converter can be instructed to print the caller only when certain criteria are met as specified by an evaluator.
Do you happen to have measured performance of this particular aspect of logback versus j.u.l? -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!"