True, but since we are using flash-drives (4GB), no gigantic harddrives, we 
have strict limitations of storage. I can only use 5MB for the rolling logfiles 
:-)

That's why I needed to invent this solution, keeping the normals logs rolling, 
and keeping a history rolling to tag along each error/fatal/warn I get.

:-)

-----Ursprungligt meddelande-----
Från: Jukka Zitting [mailto:[EMAIL PROTECTED]
Skickat: den 8 oktober 2008 10:34
Till: Log4J Developers List
Ämne: Re: Dual logging problem - outofmemoryerror... heap space

Hi,

On Wed, Oct 8, 2008 at 10:19 AM, Johan Sandgren <[EMAIL PROTECTED]> wrote:
> I'm using log4j, and my logs are rotating quite fast, so if an error occurs,
> for example in the middle of the night, it will not be present in the log in
> the morning when I arrive to check for errors.
>
> So I decided to extract the errors live, when they occur, and make them go
> to another file.

Wouldn't an easier solution have been to just decrease the log rotation rate?

BR,

Jukka Zitting

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


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

Reply via email to