P
Philippe Godin
Good day,
The client requirements indicates that the logging of messages shall
be done physically (write to disk) ONLY every 10 seconds or when 100
log messages are pending. Understand the ONLY word clearly, the
application we're building is to run on a custom board that uses a 1GB
compact flash card as the rom. The information that is to be kept on
the card is really CRUCIAL. There's a lot of computation involve and
write to disk shall be reduced to a minimum. Is there a way to use
log4j to do so. I've checked the documentation and couldn't find
anything that realized that. I would first need something like a log
queue and find a way to manage the physical access to disk. I could
create the classes that would accomplish this but just wanted to make
sure log4j doesn't already handle this. BTW, we have to be using a
RollingFile of 100MB (probably 10 times 10MB)
Any idea??
thx, Flip
The client requirements indicates that the logging of messages shall
be done physically (write to disk) ONLY every 10 seconds or when 100
log messages are pending. Understand the ONLY word clearly, the
application we're building is to run on a custom board that uses a 1GB
compact flash card as the rom. The information that is to be kept on
the card is really CRUCIAL. There's a lot of computation involve and
write to disk shall be reduced to a minimum. Is there a way to use
log4j to do so. I've checked the documentation and couldn't find
anything that realized that. I would first need something like a log
queue and find a way to manage the physical access to disk. I could
create the classes that would accomplish this but just wanted to make
sure log4j doesn't already handle this. BTW, we have to be using a
RollingFile of 100MB (probably 10 times 10MB)
Any idea??
thx, Flip