You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2013/05/10 22:47:16 UTC
[jira] [Resolved] (TS-1887) make diags location logging more
succinct
[ https://issues.apache.org/jira/browse/TS-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Peach resolved TS-1887.
-----------------------------
Resolution: Fixed
Fix Version/s: 3.3.3
Assignee: James Peach
> 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
> Assignee: James Peach
> Fix For: 3.3.3
>
>
> 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