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 occasions.

 

 

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

 

 

 

Maor Bril
SW  Engineer, QA Department

Allot Communications * a mind for networks(tm)
Tel: +972 9 7619 263
Cell: +972 52 5600699
Fax: +972 9 744 3626
[email protected] <mailto:[email protected]> 
www.allot.com <http://www.allot.com/> 

 

 


##############################################################################################
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.
##############################################################################################

Reply via email to