wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Inserting Headers in log file using log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Inserting Headers in log file using log4j" Watch "Inserting Headers in log file using log4j" New topic

Inserting Headers in log file using log4j

Srinath Kannan

Joined: Jan 11, 2011
Posts: 14


I have semi-colon separated values logged to a csv file using log4j. Now i wanted to write a header in first line [only once, everyday]. How this can be done?

message id, file name, start time, end time, status

lydia edward

Joined: Feb 02, 2011
Posts: 11
I am sorry that I am not posting an answer to your question. But I want to know how you are implementing a csv file using log4j since that is exactly what I am trying to do. Can you please let me know with an example?

I agree. Here's the link: http://aspose.com/file-tools
subject: Inserting Headers in log file using log4j
Similar Threads
Portal Server v6.0 Initialization Problem
Inserting Header Text in Log file - Log4j
delete content of file from java
EJB30-JBOSS sample tutorial doesn't works!!
SECJ0306E: LTPA Token expiration, why? (WAS