You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/04/17 20:24:25 UTC

[jira] [Updated] (TS-4354) Diagnostic logging improvements

     [ https://issues.apache.org/jira/browse/TS-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-4354:
------------------------------
    Fix Version/s: 7.0.0

> Diagnostic logging improvements
> -------------------------------
>
>                 Key: TS-4354
>                 URL: https://issues.apache.org/jira/browse/TS-4354
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>            Reporter: Daniel Xu
>             Fix For: 7.0.0
>
>
> Some things could be improved in the Diags class. In order of relative importance:
> * Unit tests & functional tests for Diags & BaseLogFile class
> * Make log_log_...() functions run time configurable. ie. make it so we can choose to turn on those debugging statements at run time
> ** As jpeach mentioned, environment variables or global flag or other could work
> * Combine bind_stdout() & bind_stderr() into a single helper function called something like rebind(int oldfd, int new_fd)
> * Make BaseLogFile::m_fp private and accessible with a getter



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)