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