Apache Module: CustomLog

王朝system·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航