]> git.ipfire.org Git - thirdparty/suricata.git/commit
logging: support custom file permissions
authorMats Klepsland <mats.klepsland@gmail.com>
Tue, 21 Feb 2017 09:41:57 +0000 (10:41 +0100)
committerMats Klepsland <mats.klepsland@gmail.com>
Tue, 28 Mar 2017 11:07:39 +0000 (13:07 +0200)
commit005a700e543b65db510243814d85f432cc0912d6
tree44dbe241b27320967fb9d65b43305b54f7cbe4b5
parent63078909d5d279bdff465a98a6ab0a52e6467694
logging: support custom file permissions

Support setting file permissions per logger using 'filemode', e.g.:

  outputs:
    - eve-log:
        enabled: yes
        filetype: regular
        filename: eve.json
        filemode: 660
src/util-error.c
src/util-error.h
src/util-logopenfile.c
src/util-logopenfile.h