History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: PSL-113
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jens Halm
Reporter: Jens Halm
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Parsley - Spicelib

Add documentation for logger configuration in Parsley ApplicationContext

Created: 01/Mar/08 06:16 PM   Updated: 29/Jan/09 11:38 PM
Component/s: Documentation
Affects Version/s: None
Fix Version/s: Spicelib 1.0.1


 All   Comments   Change History      Sort Order:
Nico Zimmermann - 11/Mar/08 04:43 PM
Correct this Text... it is already integrated.

"In the future there will be two ways to configure the logging framework: XML and programmatic configuration. But since XML configuration will be integrated into the configuration framework / IOC container of Parsley and Parsley has not been released yet, we are left with programmatic configuration for now."

Remove linenumbers from this text.

"1 var factory:LogFactory = new DefaultLogFactory();
2 factory.setRootLogLevel(LogLevel.WARN);
3 factory.addLogLevel("com.mycompany.mypackage.controller", LogLevel.DEBUG);
4 factory.addLogLevel("com.mycompany.mypackage.services", LogLevel.DEBUG);
5 var traceApp:Appender = new TraceAppender();
6 traceApp.threshold = LogLevel.TRACE;
7 factory.addAppender(traceApp);
8 LogContext.factory = factory;"