I'm considering using log4j in order to log data that I receive as a
backup to a single file (DailyRollingFileAppender). I plan on
receiving the file into a temp file, and then using that as both the
source for the log and my processing. However I'd like to avoid having
to read all the data into memory in order to log it through log4j. I
was poking around, and I don't think this functionality currently
exists. I was looking for a bit of guidance on how to add a way to do
this. I was looking at adding a renderer in org.apache.log4j.or, but
the problem is it would require reading the whole file into memory.
Would I need to extend/re-implement an Appender? The problem is I want
to keep the entire file as a single log entry in the log file, but
don't want to read the file into memory. Any ideas?

--Aaron

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to