Efficient way of looging in python

maitreymishra23 at gmail.com maitreymishra23 at gmail.com
Thu Apr 25 09:28:21 EDT 2013


Hi,

I need an efficient way of logging using python.
My problem statemnt:
1. I have multiple processes using the same logging file.
I need solutions to the following:
a) If multiple processes are trying to write to the same file, I need to prevent that. Otherwise, the logging messages will be puzzling to the user as he would see logging messages from one module than may be some other following it.

Please let me know if there is an efficient way to do it.

Thanks!

Br,
Maitrey



More information about the Python-list mailing list