The logging service just configures the logging subsystem which is log4j by
default so you would simply use whatever factory method the configured logging
subsystem provides. The logging service itself has no logging facilities.
| import org.apache.log4j.Logger;
|
|
|
|Logger log = Logger.getLogger("x.y.z.MyCategory");
|
or use the jboss logging wrapper which is independent of the logging subsystem:
| import org.jboss.logging.Logger;
|
|
|
|Logger log = Logger.getLogger("x.y.z.MyCategory");
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855671#3855671
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855671
---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user