Sophos Central Endpoint and SEC: Computers fail/hang on boot after the Microsoft Windows April 9, 2019 update. Please follow knowledge base article 133945
Learn about the Benefits of Multi-Factor Authentication (MFA). Turn your MFA on now!
This article describes how to find and view the log files on the Sophos XG Firewall from the graphical user interface and the command line interface and also details how to enable debugging. The following sections are covered:
Applies to the following Sophos products and versions Sophos Firewall
All log files are available via the graphical user interface (GUI) and the command line interface (CLI), in the Advanced Shell.
In SFOS version 17, the Log Viewer can be found in the upper right-hand corner of the GUI by clicking on the Log Viewer link.
In the Advanced Shell, you can find the log files in the /log directory. These commands can be used to view the text in different ways. Commands are explained with examples below each one, variables such as path or filenames are enclosed in < > symbols.
The tail -f command shows the log file's latest entries.
tail –f /log/<logfilename>.log Shows the log file's latest entries.
tail –f /log/<logfilename>.log
The less command shows static log files. You can also match keyword within the logs.
The grep command applies a search filter for the keyword within the logs.
grep <Keyword> /log/<logfilename>.log
The service command will start/restart/stop/debug a service.
service <service name>:start/restart/stop/debug –ds nosync
The following is an example of the shell commands:
If you've spotted an error or would like to provide feedback on this article, please use the section below to rate and comment on the article. This is invaluable to us to ensure that we continually strive to give our customers the best information possible.
Every comment submitted here is read (by a human) but we do not reply to specific technical questions. For technical support post a question to the community. Or click here for new feature/product improvements. Alternatively for paid/licensed products open a support ticket.