Skip to content

[BUG] Unnecessary logging crc-exists every second on Windows grows crcd.log #3676

@gbraad

Description

@gbraad

General information

  • OS: Linux / macOS / Windows
  • Hypervisor: KVM / Hyper-V / hyperkit / vfkit
  • Did you run crc setup before starting it (Yes/No)?
  • Running CRC on: Laptop / Baremetal-Server / VM

The crcd.log file grows huge due to the following being logged:

time="2023-05-21T12:43:43+08:00" level=debug msg="Running 'Hyper-V\\Get-VM crc | Select-Object -ExpandProperty State'"
time="2023-05-21T12:43:44+08:00" level=debug msg="Checking file: C:\\Users\\gbraad\\.crc\\machines\\crc\\.crc-exist"
time="2023-05-21T12:43:44+08:00" level=debug msg="Checking file: C:\\Users\\gbraad\\.crc\\machines\\crc\\.crc-exist"

which is 352 bytes every second, or 1.2672 megabytes every hour, or 30.4128 megabytes every day... just logging this.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions