Changes between Version 3 and Version 4 of LOGGING
- Timestamp:
- 12/04/08 16:59:05 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
LOGGING
v3 v4 113 113 == Configuring log4j in Sophie 2.0 == 114 114 115 Log4j configuration is stored in "log4j.properties" file . It is read at application startup.115 Log4j configuration is stored in "log4j.properties" files. It is read at application startup. The location of the files is in the /src/main/resources folder of org.sophie2.author, org.sophie2.server and org.sophie2.testing modules. 116 116 117 117 In order to change the lowest logged level edit the following line: … … 120 120 }}} 121 121 and replace "all" with the desired level (choose on from - off, fatal, error, warn, info, debug, trace). 122 123 Note that the Properties library is configured separately here:124 {{{125 log4j.logger.net.asteasolutions.sophie.research.properties=all, ConsoleLogging126 }}}127 This reflects on all classes extending the Property class.128 122 129 123 Destination and format of logged messages can be changed by configuring the appropriate Appenders in "log4j.properties".