java - Is it possible to open a log file programmatically if it's continously being written to? -


or generate error? wanted know if possible before put forth effort implement behavior application. sorry naivety...

note: i'm using log4j logging, , 'opening log file programmatically', mean through gui component, such button.

i never used log4j used log4net lot (its .net counterpart). can set log's lockingmodel minimal-lock have log file locked when logger writing it. @ point can read without preventing logger writing if make sure application doesn't obtain exclusive lock on file.


Comments

Popular posts from this blog

c# - Is it possible to remove an existing registration from Autofac container builder? -

asp.net - RadAsyncUpload in code behind, how to? -