You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Daniel Xu (JIRA)" <ji...@apache.org> on 2016/04/15 17:48:25 UTC
[jira] [Created] (TS-4354) Diagnostic logging improvements
Daniel Xu created TS-4354:
-----------------------------
Summary: 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
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)