You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Gunaranjan Pemmaraju <gu...@hotmail.com> on 2006/03/15 09:40:50 UTC

Can I open a log4J file in a share mode

a) I have the following settings
log4j.appender.defaultAppender=org.apache.log4j.RollingFileAppender
log4j.appender.defaultAppender.MaxFileSize=10000KB
log4j.appender.defaultAppender.File=d:\test.log
log4j.appender.systemOutAppender=org.apache.log4j.FileAppender


b) Now while my process is on, I cannot write anything into the log file 
test.log
If I change the text in the file and try saving it, it says that "sharing 
violation occured..."

Can you please let me know know if there is an option by which I can open 
the file in a share mode, rather than an exclusive mode?


thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org