Version 2 (modified by anonymous, 16 years ago) (diff)


网站建设网站推广 google推广租车 上海租车汽车租赁 租车上海租车 汽车租赁租车上海租车汽车租赁 数据恢复预订机票 英语翻译机票 机票预订机票 vitiligol防静电/防静电产品 防静电/防静电椅子翻译 三亚三亚旅游 数据修复数据恢复 机票成人用品 设计广告设计 印刷成人用品, 印刷注册公司公司注册 注册上海公司公司注册公司注册 注册公司注册上海公司注册公司 公司注册注册公司 注册香港公公司注册 注册香港公司注册香港公司 注册香港公司香港公司

Trac Logging

Trac supports logging of system messages using the standard logging module part of Python 2.3 and newer.

Supported Methods

  • none -- Suppress all log messages.
  • file -- Log messages to a file, specified in the configuration? (Using the log_file directive in trac.ini).
  • stderr -- Output all log entries to console. (tracd only)
  • syslog -- (UNIX) Send messages to local syslogd via named pipe '/dev/log'.
  • winlog -- (Windows) Use the system's NT eventlog for Trac logging.

Log Levels

The level of verbosity of logged messages can be set using the log_level directive in trac.ini. The log level defines the minimum level of urgency required for a message to be logged.

The levels are:

  • CRITICAL -- Log only the most critical, typically fatal, messages.
  • ERROR -- Request failures, bugs and errors.
  • WARN -- Warnings, non-interrupting events.
  • INFO -- Diagnostic information, log information about all requests.
  • DEBUG -- Development messages, profiling, etc. Not for public consumption.

See also: TracIni, TracGuide