Open evverx opened 1 week ago
FWIW I agree with https://github.com/polkit-org/polkit/pull/425#discussion_r1530689868 that ideally --no-debug
shouldn't be necessary. polkit could emit info messages by default and the LogLevel property could be used to control all the logs (by analogy with what all the systemd services do for example).
Describe the bug The LogControl1 API doesn't affect logs emitted by polkit when
--no-debug
option is removed.To Reproduce To reproduce it it should be enough to remove the
--no-debug
option and set the LogLevel tocrit
.polkit
keeps emitting messages likeExpected behavior polkit should emit only critical messages (and the
TRANSPORT
should probably besyslog
since the LogTarget property says that it all goes tosyslog
.It was also discussed in https://github.com/polkit-org/polkit/issues/506#issuecomment-2431965987