-
Notifications
You must be signed in to change notification settings - Fork 0
9.0 Logging
Gurdeep Singh (Guru) edited this page Aug 14, 2024
·
1 revision
Logging is enabled by default for 2 things:
- Logging filters related events like, filter add, filter update, filter remove, filter move.
- If there was an IP that was blocked by a filter, we log the IP and the filter associated with that block.
Additionally, you can enable logging for Allowed
IPs for troubleshooting purposes.
Logging methods are accessible via properties:
//Filter logger
$this->filterLogger
//System logger
$this->systemLogger
Log files are stored in firewalldata/logs/ folder. There are 2 log files that will be generated in there. We are using log rotation handler of monolog, which basically rotates logs everyday.
- System messages are in system-{date}.log
- Filter messages are in filter-{date}.log