]> glassweightruler.freedombox.rocks Git - waydroid.git/commit
logging: Use RotatingFileHandler to trim logfile at 5MB
authorAlessandro Astone <ales.astone@gmail.com>
Sun, 24 Aug 2025 14:48:50 +0000 (16:48 +0200)
committerAlessandro Astone <ales.astone@gmail.com>
Sun, 24 Aug 2025 15:00:58 +0000 (17:00 +0200)
commit2e4e921317903f5152ce17bc7aa9fdf278b45f15
tree7c07895f3ad5f7a49f2abe3cfe2e4120f7862cc7
parent2c41162d8bfef5bf83333a6ce4834af0c3c2b535
logging: Use RotatingFileHandler to trim logfile at 5MB

Remove all direct uses of args.logfd: everything goes through the logger now.

Only the container manager process is allowed to write to the log, which now
has 0o644 permissions.

Other commands will only log to stdout. Logs that would previously appear
in the logfile will now only be visible with --details-to-stdout.
tools/helpers/logging.py
tools/helpers/run_core.py