[systemd-devel] systemd-logind / logwatch
Reindl Harald
h.reindl at thelounge.net
Tue Apr 10 13:29:26 PDT 2012
Am 10.04.2012 22:23, schrieb Lennart Poettering:
> On Tue, 10.04.12 03:06, Reindl Harald (h.reindl at thelounge.net) wrote:
>
> Heya,
>
>> i have redirected "systemd-logind" messages for /var/log/messages
>> to /var/log/secure on Fedora 16, but because they contain always
>> an ID logwatch is flooded with this messages
>
> systemd git now has logind log with the AUTH facility, hence this should
> now happen automatically, as you requested earlier. (will be available
> in f18)
ok, thank you
F17 would be nicer but since rsyslog can deal with
teh redirection not so important
>> would it not be nicer to skip this ID to see in logwatch
>> how often usernames created sessions via crond or whatever
>>
>> detail-observation if there looks something wired will
>> happen with the logfile containing timestamps, the
>> current behavior makes logwatch a little bit ugly
>
> Hmm, I am not entirely sure I understand what you are asking for?
>
> Are you suggesting that because the "logwatch" tool does not recognize
> our messages it cannot reduce duplicates and you'd like us to change
> logind to always generate exactly the same log message without including
> the ever-increasing session ID?
exactly
> Hmm, wouldn't it be more appropriate to update logwatch to deal with
> this kind of output?
if i would be able to do so i would
but that is out of my scope :-(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20120410/92f6ddd9/attachment.pgp>
More information about the systemd-devel
mailing list