Where are pfsense log files?
In the nanobsd 2.0.3 release at least, they are found by going to:
cd /var/log(not plural logs ;)
clog system.log | less
system.logwith name of any log in the directory.
- Because these log files are not regular text files, but are actually binary circular logs, then the clog utility is used to view them and
| lesspipes the output to less so that you can scroll up and down through the logs using page up/down keys. Press
- When you are done viewing logs and want to return from the shell prompt back to the pfsense menu, type
exitat the command prompt.
pfSense stores its log files in the
The logs are not stored in the standard text-based format. Instead they are stored in a 'circular logging' format. Use the
clog tool to view the logs. You can use it similarly to the
tail command. i.e.
clog -f /var/log/system.log will display the entire log and then continue to 'follow' it.
Simpler way of looking at logs - log into the pfsense web console and Select 'Edit File' within 'Diagnostics'. Here you can browse the directory