modemmanager: refactoring hotplug debug logging 17265/head
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 13 Dec 2021 12:06:47 +0000 (13:06 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 14 Dec 2021 08:17:34 +0000 (09:17 +0100)
commit45a56a889943b437f78fa2bfca3d5d8ac555c77e
tree382e68f8ad6da26e34b9caed62b353b81f5c61ef
parentdc7095baff0172760090a4c9f88bca11f6f38838
modemmanager: refactoring hotplug debug logging

The output of the hotplug is very chatty and floods the log with
messages that are not necessary in functioning operation.

So that the log can be filtered. A log level was added to each message
as the first opiton on mm_log function call.

In addition, the facility of the hotplug script has been set to daemon,
which in my view fits better than user.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/modemmanager/files/modemmanager.common