O'Reilly logo

CompTIA Linux+ Certification Guide by Philip Inshanally

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up local system logging

Within a Linux environment, it is critical to have logs that can be used to identify potential bottlenecks within the system. Fortunately, we have logging turned on by default. There are different types of log file available for inspection; primarily, the /var/log directory contains various log files, each geared to different aspects of the system. We can take a look at the /var/log directory:

root@philip-virtual-machine:/etc# cd /var

From the preceding output, right off the bat, there is the /var/log/syslog file. This contains pertinent information about the functioning of the system. We can view the /var/log/syslog ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required