[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - AOPLogging
stale.pedersen@jboss.org
do-not-reply at jboss.com
Tue Aug 26 07:26:33 EDT 2008
after looking into JBAOP-623 ive changed our logger to something similar to what messaging got. i havent changed the logic for when we apply our own logger (which is SystemOutLoggerPlugin), and the problem that i see is that its not applied at all when aop is running standalone.
when i run in "verbose" mode standalone i usually get:
[java] log4j:WARN No appenders could be found for logger (org.jboss.aop.instrument.InstrumentorFactory).
| [java] log4j:WARN Please initialize the log4j system properly.
this is something we should set by if its not set by the user imo.
- but i guess we cant always set org.jboss.logging.Logger.pluginClassName to our own logger since this would overwrite what others has set it to (correct me if im wrong here).
we also have a lot of System.err.print outputs in our code, should i change them to use the logger too or is it a good reason why its not using the logger? :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172539#4172539
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172539
More information about the jboss-dev-forums
mailing list