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)