[Administration-Logging]: 08 HTML Layout

In Repertoire Server, the default loger layout is in “org.apache.log4j.PatternLayout”. This has the least overheads in terms of filesize. However, this might not be the best form of layout for web viewing. In Log4J, there is a HTMLLayout that can be used for better viewing of the log files.

Below is a modified log-config.xml file that uses the HMTLLayout. Simply copy the log-config-html.xml to the /config folder and rename it to log-config.xml and you should be able to see the log files in HTML mode like the screen shot below

Notice that the errors are automatically coloured in RED for easier detection. The Log Level of INFO,DEBUG,ERROR etc are also colour coded for easier reading.


log-config-html.zip (941 Bytes)