Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

log4j log file with title line

Thread view: 
alejandrina - 29 Aug 2007 20:27 GMT
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
alejandrina - 30 Aug 2007 02:54 GMT
> 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
[quoted text clipped - 6 lines]
>
> 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.