You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Faizan Ahmed <af...@gmail.com> on 2006/06/29 09:41:56 UTC

Chainsaw v2 configuration

Hi

I'm trying to configure chainsaw v2 and found problem with log format,

Here's the format of the log files we have,

[financing_tools_gcps] [CountryCodeXRefProcess_impl] [06/29 03:29:25]
[DEBUG] [Severity 4] [tangyp@my.ibm.com a25sod001] getCountryXRef: country
code xref loaded.

Here's the entry in log4j.ini,

log4j.appender.profileLog.layout.ConversionPattern=[financing_tools_gcps]
[%c{1}] [%d{MM/dd HH:mm:ss}] [%p] [Severity %s] [%x] %m %n

I tried this in logFormat,
[*] [CLASS] [TIMESTAMP] [LEVEL] [*] [*] MESSAGE

But got the following error,

found non-matching line: [financing_tools_gcps]
[CountryCodeXRefProcess_impl] [06/29 03:29:25] [DEBUG] [Severity 4] [
tangyp@my.ibm.com a25sod001] getCountryXRef: country code xref loaded.

Can anyone help me with the logformat.

Thanks in advance.
Faizan