You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "bwahn (JIRA)" <ji...@apache.org> on 2015/03/25 13:44:52 UTC
[jira] [Comment Edited] (TS-1985) Eliminate built-in log formats in
favor of logs_xml.config
[ https://issues.apache.org/jira/browse/TS-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14379802#comment-14379802 ]
bwahn edited comment on TS-1985 at 3/25/15 12:44 PM:
-----------------------------------------------------
[~zwoop],
"Eliminate built-in log formats" mean that do not use a config key of records.config any more.
CONFIG proxy.config.log.logging_enabled INT 3
CONFIG proxy.config.log.max_space_mb_for_logs INT 25000
CONFIG proxy.config.log.max_space_mb_headroom INT 1000
CONFIG proxy.config.log.squid_log_enabled INT 1
CONFIG proxy.config.log.squid_log_is_ascii INT 0
CONFIG proxy.config.log.rolling_enabled INT 1
CONFIG proxy.config.log.rolling_interval_sec INT 86400
CONFIG proxy.config.log.rolling_size_mb INT 10
CONFIG proxy.config.log.auto_delete_rolled_files INT 1
was (Author: bwahn):
[~zwoop],
"Eliminate built-in log formats" mean that do not use a config key of recordds.config any more.
CONFIG proxy.config.log.logging_enabled INT 3
CONFIG proxy.config.log.max_space_mb_for_logs INT 25000
CONFIG proxy.config.log.max_space_mb_headroom INT 1000
CONFIG proxy.config.log.squid_log_enabled INT 1
CONFIG proxy.config.log.squid_log_is_ascii INT 0
CONFIG proxy.config.log.rolling_enabled INT 1
CONFIG proxy.config.log.rolling_interval_sec INT 86400
CONFIG proxy.config.log.rolling_size_mb INT 10
CONFIG proxy.config.log.auto_delete_rolled_files INT 1
> Eliminate built-in log formats in favor of logs_xml.config
> ----------------------------------------------------------
>
> Key: TS-1985
> URL: https://issues.apache.org/jira/browse/TS-1985
> Project: Traffic Server
> Issue Type: Improvement
> Components: Logging
> Reporter: Leif Hedstrom
> Labels: compatibility, newbie
> Fix For: 6.0.0
>
>
> I have a feeling that the hardcoded (built-in) log-formats was the old way of doing things, and logs_xml.config is the new way. As such, I'd like to propose that we eliminate all the built-in's, and provide all those formats in a default logs_xml.config.
> One thing that might be necessary to add is an option in the XML config to disable a log file. I don't know if that's easily doable without using XML comments, but would be easy to add and useful.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)