This works: [financing_tools_gcps] [LOGGER] [TIMESTAMP] *Severity * [NDC] MESSAGE
It's getting confused by the brackets around the severity field (there must be a bug in the parsing logic). Scott Deboy COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Telephone: 503.224.7496 Cell: 503.997.1367 Fax: 503.222.0185 [EMAIL PROTECTED] www.comotivsystems.com -----Original Message----- From: Faizan Ahmed [mailto:[EMAIL PROTECTED] Sent: Thu 6/29/2006 12:41 AM To: log4j-user@logging.apache.org Subject: 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] [EMAIL PROTECTED] 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] [ [EMAIL PROTECTED] a25sod001] getCountryXRef: country code xref loaded. Can anyone help me with the logformat. Thanks in advance. Faizan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]