...
indent |
---|
|
2. Open the standalone.xml file to edit its contents. |
indent |
---|
|
3. Locate the <profile> section of the xml document. |
indent |
---|
|
4. The handlers are in the urn:jboss:domain:logging:1.1 subsystem subsystem |
indent |
---|
|
5. Verify the level name for the console-handler is INFO. Change it if necessary. |
...
indent |
---|
|
Code Block |
---|
| <periodic-rotating-file-handler name="FILE<subsystem xmlns="urn:jboss:domain:logging:7.0">
<formatter> <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/> </formatter> <file relative-to="jboss.server.log.dir" path="server.log <console-handler name="CONSOLE">
<level name="INFO"/>
<suffix value=".yyyy-MM-dd <formatter>
<named-formatter name="COLOR-PATTERN"/>
<append value="true"/>
</periodic-rotating-file- </formatter>
</console-handler>
|
|
indent |
---|
|
6. Save the changes and close the file. |
...
Info |
---|
|
If you need to troubleshoot an issue you can set the level to DEBUG. Remember to return it to INFO when you are done. |
Troubleshooting Logging
If you are having trouble with this logging approach, try this alternative:
In
indent |
---|
|
YOUR_JBOSS_HOME_DIR\standalone\deployments\i2b2.war\WEB-INF\classes\log4j.properties |
add “
add
Code Block |
---|
log4j.logger.edu.harvard.i2b2= |
DEBUG” (or INFO to turn off extended logging)