We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TM truncates its log file upon startup:
[root@foo log]# ll traffic_monitor.log -rw-r--r-- 1 root root 3107262 Mar 4 09:11 traffic_monitor.log [root@foo log]# systemctl stop traffic_monitor [root@foo log]# ll traffic_monitor.log -rw-r--r-- 1 root root 3107262 Mar 4 17:02 traffic_monitor.log [root@foo log]# systemctl start traffic_monitor [root@foo log]# ll traffic_monitor.log -rw-r--r-- 1 root root 704 Mar 4 17:02 traffic_monitor.log
Observed on 5.0.0 with the following logging config in traffic_monitor.cfg:
traffic_monitor.cfg
"log_location_event": "/opt/traffic_monitor/var/log/event.log", "log_location_error": "/opt/traffic_monitor/var/log/traffic_monitor.log", "log_location_warning": "/opt/traffic_monitor/var/log/traffic_monitor.log", "log_location_info": "null", "log_location_debug": "null",
Traffic Monitor should not truncate its config upon startup. Instead, it should append to the existing log file.
Restart Traffic Monitor with the above configuration.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I'm submitting a ...
Traffic Control components affected ...
Current behavior:
TM truncates its log file upon startup:
Observed on 5.0.0 with the following logging config in
traffic_monitor.cfg
:Expected behavior:
Traffic Monitor should not truncate its config upon startup. Instead, it should append to the existing log file.
Minimal reproduction of the problem with instructions:
Restart Traffic Monitor with the above configuration.
The text was updated successfully, but these errors were encountered: