You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2004/12/10 18:10:34 UTC
DO NOT REPLY [Bug 14935] -
Logger.getLogger()
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=14935>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=14935
yoavs@computer.org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|log4j-dev@jakarta.apache.org|log4j-dev@logging.apache.org
------- Additional Comments From yoavs@computer.org 2004-12-10 18:10 -------
In class A, you can do
private static final Logger LOGGER = Logger.getLogger(A.class);
You can also use reflection if you like. Or stick with initializing the logger
in a constructor, where the non-static getClass() method is available as you've
noted.
Other than that, your request will not be done, so I'm closing this item. If
you'd like to discuss it further, please do so on the log4j-user mailing list
INSTEAD of simply reopening this Bugzilla issue. Thank you.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org