Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other Open Source Projects
how to make log4j print out class name and line number
Tien Duong Nguyen
Joined: Oct 22, 2004
Sep 20, 2005 22:14:00
I am looking for the way to print out the class name and line number in logging message.
E.g : logger.info ("message "); -> ClassName ( line number ) : message.
Can we do it with log4j
SCEA (part 1), part 2,3 in progress<br /> <br />SCBCD,SCWCD,SCJP
Joined: Mar 22, 2005
Sep 21, 2005 01:18:00
That's possible. The
have all the details.
Ping & DNS, my free Android app for network diagnostics
It is sorta covered in the
JavaRanch Style Guide
subject: how to make log4j print out class name and line number
dinamic variables value in log4j
Determine from which main class the call came from to a method
Runtime method names
Using log4j with iPlanet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013