The log file is being removed with Java at the end of a public (not static)
method of the class (with Log object configured). I invoke this method in
main() of another class.

Does it matter whether the LogManager.shutdown() is called in a static
context (static method)?

On 18/08/06, James Stauffer <[EMAIL PROTECTED]> wrote:

How (with Java or external?) and when (while program is running?) are
you trying to remove it?

On 8/18/06, Dmitry Kan <[EMAIL PROTECTED]> wrote:
> Hi there!
>
> I've got a small problem with unlocking log files after all logging's
done.
> I've configured the Log object for my class using PropertyConfigurator
so
> that all loggings go directly to a certain log file. The issue is that
it
> turns out to be rather tricky task to unlock that file (I need to remove
it
> after the app's done its work). I've just tried LogManager.shutdown();
but
> it hasn't worked. Any ideas are appreciated.
>
> --
> best wishes,
> Dmitry Kan
>
>


--
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
best wishes,
Dmitry Kan

Reply via email to