Liu Tians, 2010/07/24 14:28, Linux, Comments (67), reading (40557), Via site Original Big | In | A preface
Why to introduce the second edition. Since the first edition is based on Logzilla3.0, the author has licensed restrictions after Logzilla3.0,
This article lists several log files in the Linux system. and combining the log records in the message, a simple analysis is made. Syslog is the default log daemon for Linux systems. The default Syslog profile is the/etc/sysctl.conf file. Typically,
First, we'll describe the basics of what Linux logs are, where to find them, and how they are created
Linux System Log
Many valuable log files are created automatically for you by Linux. You can find them in the/var/log directory. Here's what this
Article title: Apache log: access log (2 ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
3. process
first, to understand the meaning of the Rsyslog configuration fileConfiguration file Path/etc/rsyslog.confIn Rsyslog facility facilities can be used to classify logs from functions or programs in the following ways
Auth
and
Purpose:1. Write a fatal-level error to the 2000nt log2. Send email notification to administrators for warn, error, and fatal errors3. Other errors are output directly in the background.
Tutorial steps:Output to 2000nt log1. SetLog4jCopy the
Httpd log and log rotation tool, httpd log Rotation
Directory:1.1 Error Log ErrorLog1.2 access log CustomLog1.3 log rotation: rotatelogs Tool1.4 log rotation: cronolog Tool1.5 comparison between rotatelogs and cronolog
The types of logs to be
Apache configuration file httpd.conf Chinese detailed## The configuration file based on the NCSA server is written by Rob McCool, Longzi translation## Apache Server master configuration file. Includes directory settings for server directives.# More
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.