logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Deboy" <sde...@comotivsystems.com>
Subject RE: Chainsaw and Tab characters
Date Thu, 04 Oct 2007 17:28:48 GMT
Every place you have a tab in your log file format, specify an asterisk
in the logFormat..

For example:

TIMESTAMP*LEVEL*[LOGGER]*MESSAGE

Can process these events (where there are tabs between each of these
fields:

2007-05-31 16:29:24,723	DEBUG	[LOGGER1]	Entry1 here
2007-05-31 16:29:25,723	WARN	[SOMELOGGER]	Entry2 here



Scott Deboy
Principal Engineer
COMOTIV SYSTEMS
111 SW Columbia Street Ste. 950
Portland, OR  97201
Office: 503.224.7496
Direct Line: 503.821.6482
Cell: 503.997.1367
Fax: 503.222.0185
sdeboy@comotivsystems.com
www.comotivsystems.com


-----Original Message-----
From: Siegel, Bernard J. [mailto:bsiegel@swri.org] 
Sent: Thursday, October 04, 2007 9:51 AM
To: log4j-user@logging.apache.org
Subject: Chainsaw and Tab characters

I have a log file that uses tab characters instead of a single space
between log line components.
Timestamp,tab,logger,tab,level,tab,message   (no commas)
I have not been able to figure out how to structure the logFormat for
this.
Please advise.
Thank you,

Bernard Siegel
Senior Research Analyst
Mobile Systems Technology Group
Presentation Systems Section
Software Design and Development Department
Medical Systems Organization
Software Engineering
Division 10, Automation and Data Systems
Southwest Research Institute
Desk Phone:  (210) 522-2347
Cell Phone: (210) 387-6437
Fax Phone: (210) 522-4228

"They placed me on this earth without a manual. 
 And I dare to say, I'm doing just fine without ;)" 

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message