rawlinp commented on a change in pull request #5655:
URL: https://github.com/apache/trafficcontrol/pull/5655#discussion_r597110927
##########
File path: traffic_monitor/build/traffic_monitor.init
##########
@@ -63,7 +63,7 @@ start() {
# Start daemons.
echo -n $"Starting $name: "
- daemon nohup $prog $options < /dev/null >
/opt/traffic_monitor/var/log/traffic_monitor.log 2>&1 &
+ daemon nohup $prog $options < /dev/null >>
/opt/traffic_monitor/var/log/traffic_monitor.log 2>&1 &
Review comment:
Nice find. I guess this is just capturing anything that TM
`fmt.Println`s to stdout? Which if TM is doing that, it would be a bug. So
maybe we just shouldn't output to
`/opt/traffic_monitor/var/log/traffic_monitor.log` at all?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]