in reply to Re^3: To create a custom log
in thread To create a custom log

Is it safe to open the file for a long time until the entire process is completed?

I am new in logging and never used any of the logging modules.

What do you suggest the best approach is ?

Replies are listed 'Best First'.
Re^5: To create a custom log
by happy.barney (Friar) on Aug 20, 2010 at 11:50 UTC
    it's save, if you know what are you doing :-) (and few background, like buffering).
    And if you are not sure, you can use locks.