This is what I see in my CentOS system: ~]# ls -l /var/log You can view the list of log files in this directory with a simple ls -l /var/log command. The default location for log files in Linux is /var/log. The commands in this tutorial were tested in plain vanilla installations of CentOS 6.4, Ubuntu 12 and Debian 7. In this tutorial, we will have a look at different parts of the Linux logging mechanism. Knowing where the system keeps its log files and how to make use of related commands can therefore help save valuable time during troubleshooting. Linux uses a set of configuration files, directories, programs, commands and daemons to create, store and recycle these log messages. Linux and the applications that run on it can generate all different types of messages, which are recorded in various log files. In fact, this is the first thing any sysadmin would do. Linux system administrators often need to look at log files for troubleshooting purposes.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |