Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
/var/log is the default location for a system's log files. If you try hard enough, you can configure your system to put all of its logs somewhere else. I can't imagine that anyone has. Almost every system runs the system logger daemon, syslogd, which puts its files where /etc/syslog.conf tells it to. /var/log/syslog contains 'important' system messages; /var/log/messages less-important messages; maillog contains the SMTP server's logs - and there are dozens more. It may be a better tactic for you to ask specific questions than ask for a complete treatise.
log entries usually contain a time stamp and the name of the program that recorded them; they are usually on a single line.
Suggest you try The Linux Documentation Project and in the Search window, try syslog, or logging, and view some of the results. Also note that there are PDF forms of the documentation on that site as well as HTML text, or other.
Maybe if you do a search on your own then you will find information suited to your needs. The two links on this page provide more than enough information to suit most queries.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.