Re: acpid and logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kjartan Maraas napsal(a):
> I don't see many events per second, but still acpid is flooding syslog:
> 
> [root@localhost log]# tail -f /var/log/messages
> Oct 11 09:42:26 localhost acpid: notifying client 2145[0:0]
> Oct 11 09:42:26 localhost acpid: completed event "thermal_zone TZ0 00000081 00000000"
> Oct 11 09:42:27 localhost acpid: received event "thermal_zone TZ0 00000081 00000000"
> Oct 11 09:42:27 localhost acpid: notifying client 2001[68:68]
> Oct 11 09:42:27 localhost acpid: notifying client 2145[0:0]
> Oct 11 09:42:27 localhost acpid: completed event "thermal_zone TZ0 00000081 00000000"
> Oct 11 09:42:41 localhost acpid: received event "thermal_zone TZ0 00000081 00000000"
> Oct 11 09:42:41 localhost acpid: notifying client 2001[68:68]
> Oct 11 09:42:41 localhost acpid: notifying client 2145[0:0]
> Oct 11 09:42:41 localhost acpid: completed event "thermal_zone TZ0 00000081 00000000"
> Oct 11 09:43:00 localhost acpid: received event "thermal_zone TZ0 00000081 00000000"
> Oct 11 09:43:00 localhost acpid: notifying client 2001[68:68]
> Oct 11 09:43:00 localhost acpid: notifying client 2145[0:0]
> Oct 11 09:43:00 localhost acpid: completed event "thermal_zone TZ0 00000081 00000000"
> Oct 11 09:43:43 localhost acpid: received event "thermal_zone TZ0 00000081 00000000"
> Oct 11 09:43:43 localhost acpid: notifying client 2001[68:68]
> Oct 11 09:43:43 localhost acpid: notifying client 2145[0:0]
> Oct 11 09:43:43 localhost acpid: completed event "thermal_zone TZ0 00000081 00000000"
> Oct 11 09:44:16 localhost acpid: received event "thermal_zone TZ0 00000081 00000000"
> Oct 11 09:44:16 localhost acpid: notifying client 2001[68:68]
> Oct 11 09:44:16 localhost acpid: notifying client 2145[0:0]
> Oct 11 09:44:16 localhost acpid: completed event "thermal_zone TZ0 00000081 00000000"
> Oct 11 09:44:57 localhost acpid: received event "thermal_zone TZ0 00000081 00000000"
> Oct 11 09:44:57 localhost acpid: notifying client 2001[68:68]
> Oct 11 09:44:57 localhost acpid: notifying client 2145[0:0]
> Oct 11 09:44:57 localhost acpid: completed event "thermal_zone TZ0 00000081 00000000"
> 
> Do we really neew to log all these?

As Steve Grubb wrote, probably the best solution for that is log only messages
with warnings or error priority. Messages above have notify and info priority,
so if acpid is not running with -d as a parameter (in debug mode), then those
messages should not be logged into syslog.

Zdenek

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux