Hi All
every once in a while I get a corrupted log file with a very long
sequence on NULL's where the text should be
this happens once in 3-4 days on sporadic occations.
I use a static synchronized class for all the threads who want to write
to the log file access
this is due to the fact I need to output the message to a GUI screen as
well.
both the methods and the actual access to the log are synchronized.
example
public static synchronized logOut(Object message) {
synchronized(log) {
log.info(message)
}
// Do other stuff with message.
}
please advise..,. as the NULL's renders the system unreliable.
Regards,
Maor
##############################################################################################
This message is intended only for the designated recipient(s).It may contain
confidential or proprietary information.
If you are not the designated recipient, you may not review, copy or distribute
this message.
If you have mistakenly received this message, please notify the sender by a
reply e-mail and delete this message.
Thank you.
##############################################################################################