storaged-project / blivet

A python module for configuration of block devices
GNU Lesser General Public License v2.1
99 stars 85 forks source link

Logging to `/tmp/lvm.log` without cleanup #1155

Closed spameier closed 11 months ago

spameier commented 11 months ago

In lvm.py the variable config_string is set to log at level 7 to /tmp/lvm.log. This leads to an ever growing log file in the /tmp/ partition (example: https://lists.ovirt.org/archives/list/users@ovirt.org/message/MTRSJUUH6GXT7GSF46YK4PPW6G522DQ4/).

The behaviour was changed from debug only to always on in 29bae37.

vojtechtrefny commented 11 months ago

Thank you for the report, the change definitely wasn't intentional, we'll change the logging back to debug only.