log4j log file with title line

A

alejandrina

Is this possible? We'd like to use log4j to write a csv file (really a
result file, not a log) and it would be nice if we could include the
title, but it does not seem possible. The HTML appender does have the
option of title and footer, but HTML is not suitable for us.

Any ideas?

Thanks,

Alejandrina
 
A

alejandrina

Is this possible? We'd like to use log4j to write a csv file (really a
result file, not a log) and it would be nice if we could include the
title, but it does not seem possible. The HTML appender does have the
option of title and footer, but HTML is not suitable for us.

Any ideas?

Thanks,

Alejandrina

I wanted to clarify a few things:

Putting a title message is of course not difficult in itself. The
problem is determine if the file is new, that's when you need the
title. Further, in our configuration, the log file is being written to
by multiple machines using a SocketAppender, so when is it the right
time to write the title?

Thanks for any ideas,

Alejandrina
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,283
Latest member
JoannaGrif

Latest Threads

Top