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:25:16 UTC

[jira] [Created] (TS-1887) make diags location logging more succinct

James Peach created TS-1887:
-------------------------------

             Summary: 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