logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Faizan Ahmed" <afai...@gmail.com>
Subject Chainsaw v2 configuration
Date Thu, 29 Jun 2006 07:41:56 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message