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,
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
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
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
Apache server global configuration-server identification Configuration
Commands related to server identity:ServerNameServerAdminServerSignatureServerTokensUseCanonicalNameUseCanonicalPhysicalPort
The ServerAdmin and ServerTokens commands control
Apache Server Global Configuration Server Identity Configuration ChapterServer Identity Related directives:ServerNameServerAdminServersignatureServertokensUsecanonicalnameUsecanonicalphysicalportThe serveradmin and Servertokens directives control
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.