Apache Module: CustomLog

來源:互聯網
上載者:User

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

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.