org.mmbase.util.logging.log4j
Class MMPatternParser
java.lang.Object
org.apache.log4j.helpers.PatternParser
org.mmbase.util.logging.log4j.MMPatternParser
- public class MMPatternParser
- extends PatternParser
Adds several conversion patterns to the ones supported natively by log4j.
See log4j pattern layout
| Conversion Pattern | Effect |
| %q | A truncated level (from the _end_, not from the beginning as log4j's %p itself would do) . To 3 chars. |
| %k | Currently memory in use (in kb). |
| %N | Machine Name of current MMBase (or 'localhost' if not set). |
- Since:
- MMBase-1.6
- Version:
- $Id: MMPatternParser.java,v 1.9 2006/01/03 10:49:35 michiel Exp $
- Author:
- Michiel Meeuwissen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MMPatternParser
public MMPatternParser(String pattern)
finalizeConverter
public void finalizeConverter(char c)
MMBase build 1.8.1.20060716