Add: AutoCert: CSRFField: CSRFSecret: Certs: Exceptions: Headers: LogDir: Logs: Methods: Remove: Replace: Routes: SkipDetection: URLLength: UploadSizeMB: UploadTypes: WAF:

Logs

default: [all.log, attacks.log, requests.log, errors.log, syslog]

Log file rotation is enabled and log files will be rotated as soon as they reach 100k lines. Max 10 log files will be kept.

Related param LogDir.

Default behaviour

    Logs:
        all: all.log
        requests: requests.log
        attacks: attacks.log
        errors: errors.log

All logs in one file

All types of messages are written in all.log file.

    Logs:
        all: /var/log/ruxy/all.log

Log all in one file except attacks

    Logs:
        all: /var/log/ruxy/all.log
        attacks: /different/path/ruxy-attacks.log

Disable logs (only STDOUT left)

    Logs:
        all: "-"
        syslog: "-"

Remote syslog - rsyslog

Add one or multiple remote servers separated by comma:

    Logs:
        rsyslog: udp://172.0.0.2:514, tcp://172.0.0.2:514