You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/05/10 22:27:16 UTC
[jira] [Commented] (TS-1887) make diags location logging more
succinct
[ https://issues.apache.org/jira/browse/TS-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13654798#comment-13654798 ]
ASF subversion and git services commented on TS-1887:
-----------------------------------------------------
Commit d2843e07760dd436b5681dfa93f66ce07b3cc6ff in branch refs/heads/master from [~jpeach@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=d2843e0 ]
TS-1887: make diagnostic location logging more succinct
> make diags location logging more succinct
> -----------------------------------------
>
> Key: TS-1887
> URL: https://issues.apache.org/jira/browse/TS-1887
> Project: Traffic Server
> Issue Type: Bug
> Components: Core, Logging
> Reporter: James Peach
>
> proxy.config.diags.show_location is a really useful setting to dhow the source location of a debug diagnostic. Unfortunately it logs the full path, making the log lines fairly illegible.
> Let's just log the base file name to make debug diags easier to read. This is the set of filenames which are uses more than once:
> trafficserver.git jpeach$ find . -type f -name \*.h -o -name \*.cc | xargs basename | sort | uniq -c | grep -v 1
> 7 Inline.cc
> 2 Main.cc
> 2 Main.h
> 2 debug_macros.h
> 2 gzip.cc
> 2 load_http_hdr.cc
> 3 lulu.h
> 2 remap.cc
> 2 resources.h
> That seems acceptable to me.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira