Interesting: my man firewalld mentions no --log-file, but firewalld -h, which I admit not having tried before, does. I must have a different version of the man page.
--log-target=file is not mentioned in any of them.
Like Marco Moock, I would also like to know if there is a way to specify that in the config file instead of in the service.
On 05/06/24 19:46, Andrei Borzenkov wrote:
On 05.06.2024 20:22, Andreas Croci wrote:
Hello, I'm using openSUSE Leap and Tumbleweed, which both come with firewalld enabled. I wanted to see who is trying to access my computers and enabled the logs, but it writes to the normal journal and floods the entries there with an awful lot of messages that make the thing unreadable. I didn't find a way to specify a different file to log the dropped packets to, other than enabling rsyslog. Is there a way to keep using journald and still have the firewall log in a separate file?
man firewalld
--log-target=file
--log-file=...
firewalld-users mailing list -- firewalld-users@lists.fedorahosted.org To unsubscribe send an email to firewalld-users-leave@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/firewalld-users@lists.fedorahos... Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue