-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2017-04-02 a las 12:55 +0200, Per Jessen escribió:
jdd wrote:
Le 02/04/2017 à 11:17, Per Jessen a écrit :
I haven't got a working setup for this, instead I suppress most of what is being logged (because it is irrelevant).
I was hoping some "exclude" option in journalctl. It's for a server, I'm reluctant to remove completely firewall logs
TMK, journalctl does not implement any filtering options. I think Carlos was also looking for those at some point. Anyway, dmesg is the kernel message buffer, not the journal.
That is so. You can not adjust what the kernel keeps, only the size of the storage. So I find it best to tell it to keep little, and then use rsyslog to keep traditional long term text log with proper filtering and rotation. Otherwise, convert to text the journal log, and use grep to remove firewall entries from the output. - -- Cheers Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAljhkngACgkQja8UbcUWM1xTYQD9GO4TPDSahymeoJi/n01cw/YF B528UE00QkhK76ptXUUA/0gLXWdwE65fw7GYFbUB/7jXieXtALzThCxJmPz9Lv7O =LIkT -----END PGP SIGNATURE-----