Hi,

Ray mentioned locking in the context of the logging code in the DC1 telecon yesterday. The current code does not provide locking. Given that it is using a threaded TCP SocketServer, the missing locks could explain the multiple writes to the logfile that I was seeing. Python Logging Handler Objects have methods, acquire() and release(), for locking. These
should be added to the LSST log code.

Cheers,
Michelle
_______________________________________________
LSST-data mailing list
[email protected]
http://www.lsstmail.org/mailman/listinfo/lsst-data

Reply via email to