Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Log Locations
« previous
next »
Print
Pages: [
1
]
Author
Topic: Log Locations (Read 7355 times)
spetrillo
Hero Member
Posts: 721
Karma: 8
Log Locations
«
on:
August 30, 2019, 03:45:40 pm »
Hello all,
I would like to move all my firewall logs to a separate partition. Am I allowed to do this? If yes is there any documentation which shows where all the logs are written?
Thanks,
Steve
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: Log Locations
«
Reply #1 on:
August 30, 2019, 03:51:10 pm »
Hi Steve,
Every "Log file(s)" item in the menu is documented now, e.g.
https://docs.opnsense.org/manual/logging_system.html
Basically all logging takes place in /var/log and you need to replace it. Make sure you create a new partition, copy everything over and add the mount to /etc/fstab for automatic mounting. The system will mount it for you on boot.
This method is incompatible with /var MFS (system: settings: misc)
Cheers,
Franco
Logged
spetrillo
Hero Member
Posts: 721
Karma: 8
Re: Log Locations
«
Reply #2 on:
August 30, 2019, 06:00:29 pm »
Thank you sir for the quick reply. One last question...when the install is happening does it take all the available space for the install or just what it needs? For example I have a 120 gig drive in my device.
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: Log Locations
«
Reply #3 on:
September 03, 2019, 09:43:28 am »
It needs a custom install then. Or a second disk.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Log Locations