Friday, December 9, 2016

Configuring Log Files

Configuring Log Files 


Your system log files are stored in the /var/log directory, shown in Figure 17-15.



Notice in this figure that there are a number of subdirectories in /var/log where system daemons,
such as mysql, apparmor, audit, and cups, store their log files. Some of these log files are
simple text files that can be read with text manipulation utilities. Others are binary files that
require the use of a special utility, such as lastlog. As you can see in Figure 17-15, there are quite
a number of files within

/var/log


and its subdirectories. As with anything, some log files are much
more useful than others.




[Table 17-5 contains a list of some of the more important log files. p 672]




How logging is implemented on Linux depends on which distribution you are using. For your
Linux+/LPIC1 exam, you need to be familiar with the following logging implementations:




• syslogd
• journald



LX0-104 Exam Objectives (O)

No comments:

Post a Comment