[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] htcondor.JobEventLog() with truncated event log files
- Date: Thu, 22 Apr 2021 10:54:29 -0500 (CDT)
- From: Todd L Miller <tlmiller@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] htcondor.JobEventLog() with truncated event log files
I just saw your answer and wonder how well
copes with rotating the event log file?
I don't know. HTCondor does not rotate (individual) job event
logs, but it looks like it's possible for the global (job) event log to
rotate, based on the documented knobs. The Python JobEventLog class calls
the C++ reader code, which is prepared for the log to rotate, but I don't
know if it actually works -- all the testing I did for the Python bindings
was with individual jobs, and I don't know if the C++ code's test tests
the global event log rotating.
However, since EVENT_LOG_MAX_SIZE is specified in bytes, it
should be pretty easy to force a global event log to rotate while you're
watching it from Python.