Apache Module: CustomLog

类别:编程语言 点击:0 评论:0 推荐:

Apache Module mod_log_config
Available Languages:  en  |  ja  |  ko  //now chinese

Description: Logging of the requests made to the server
Status: Base
Module Identifier: log_config_module
Source File: mod_log_config.c

摘要
This module provides for flexible logging of client requests. Logs are written in a customizable format, and may be written
directly to a file, or to an external program. Conditional logging is provided so that individual requests may be included or
excluded from the logs based on characteristics of the request.
这个模块用来实现对客户请求的记录。记录可以写成自定义的模式,还可以直接写到文件,或者外部程序。由于提供了条件式记录,所以根据请求的特性,单一请求可以写入记录或者被过滤。


Three directives are provided by this module: TransferLog to create a log file, LogFormat to set a custom format, and
CustomLog to define a log file and format in one step. The TransferLog and CustomLog directives can be used multiple
times in each server to cause each request to be logged to multiple files.
这个模块提供了3个指令:TransferLog用于新建记录文件,LogFormat用于设置格式,还有CustomLog用于一次过定义记录文件和记录格式。TransferLog和CustomLog指令可以在每个服务中多次使用,用来将每个请求记录到多个记录文件中。


...Hold it. 翻译到这里,才知道是对我没用的东西。你有兴趣的话自己去看吧。
Source:http://httpd.apache.org/docs-2.0/mod/mod_log_config.html#customlog

本文地址:http://com.8s8s.com/it/it26247.htm