You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custodia uses logging.FileHandler to log audit events to a log file. The file handler is thread-safe but it is not multi-process safe. It does not synchronize writes for multiple writers or inherited FDs in forked child processes.
I don't have a quick solution at hand.
The text was updated successfully, but these errors were encountered:
One thing we could do is to have the logging go to the parent process over a FD instead, and have the parent process collect it and commit it to the log file all at once when the child dies, or on a message based boundary (TBD). (This will make log rotation easier if we want to do it from within custodia)
Custodia uses
logging.FileHandler
to log audit events to a log file. The file handler is thread-safe but it is not multi-process safe. It does not synchronize writes for multiple writers or inherited FDs in forked child processes.I don't have a quick solution at hand.
The text was updated successfully, but these errors were encountered: