Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for 
change notification.

The "Tapestry5HowToIocOnly" page has been changed by TamasRev:
https://wiki.apache.org/tapestry/Tapestry5HowToIocOnly?action=diff&rev1=4&rev2=5

  }
  }}}
  
+ It's also important to a log4j configuration file. I.e. for maven you can put 
it to {{{src/main/resources/log4j.properties}}}.
+ This is an example config file:
+ {{{#!properties
+ log4j.rootCategory=WARN, A1
+ 
+ # A1 is set to be a ConsoleAppender.
+ log4j.appender.A1=org.apache.log4j.ConsoleAppender
+ 
+ # A1 uses PatternLayout.
+ log4j.appender.A1.layout=org.apache.log4j.PatternLayout
+ log4j.appender.A1.layout.ConversionPattern=[%p] %c{1} %m%n
+ 
+ log4j.category.org.apache.tapestry=error
+ log4j.category.tapestry=error
+ log4j.category.tapestry.ioc.ClassFactory=error
+ 
+ log4j.category.org.apache.tapestry5.ioc.FredModule=debug
+ log4j.category.org.apache.tapestry5.ioc.AdviceDemoModule.Greeter=debug
+ 
+ log4j.category.com.example=debug
+ 
log4j.category.org.apache.tapestry5.ioc.services.TapestryIOCModule.PeriodicExecutor=debug
+ 
+ # This makes things very verbose, but can be useful to figure what's 
happening and how long its taking.
+ log4j.category.org.apache.tapestry5.ioc.Registry=debug
+ log4j.category.org.apache.tapestry5.ioc.RegistryBuilder=debug
+ 
+ # 
log4j.category.org.apache.tapestry5.ioc.services.TapestryIOCModule.PlasticProxyFactory=debug
+ }}}
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
For additional commands, e-mail: dev-h...@tapestry.apache.org

Reply via email to