[ 
https://issues.apache.org/jira/browse/TS-4399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15267458#comment-15267458
 ] 

Alan M. Carroll edited comment on TS-4399 at 5/3/16 3:53 PM:
-------------------------------------------------------------

It looks like there is potentially a deeper bug although it's hard to be sure. 
{{traffic_manager}} has a command line argument {{--tsArgs}} which is a set of 
arguments to be passed on to {{traffic_server}}. The command {{traffic_line 
-U}} seems to ignore this as well and only use the values in the configuration 
file. This seems like it's a bug but I don't see anyway in the normal path of 
things to take advantage of {{--tsArgs}} in the first place.


was (Author: amc):
It looks like there is potentially a deeper bug although it's hard to be sure. 
`traffic_manager` has a command line argument `tsArgs` which is a set of 
arguments to be passed on to `traffic_server`. The command `traffic_line -U` 
seems to ignore this as well and only use the values in the configuration file. 
This seems like it's a bug but I don't see anyway in the normal path of things 
to take advantage of `tsArgs`` in the first place.

> management API breaks diagnostic log rotation
> ---------------------------------------------
>
>                 Key: TS-4399
>                 URL: https://issues.apache.org/jira/browse/TS-4399
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging, Management API
>            Reporter: James Peach
>             Fix For: 7.0.0
>
>
> Start up Traffic Server:
> {code}
>     0 26950     1   0 10:13AM ??         0:00.01 /opt/ats/bin/traffic_cop
>    -2 26951 26950   0 10:13AM ??         0:00.02 /opt/ats/bin/traffic_manager 
> --bind_stdout /opt/ats/var/log/trafficserver/traffic.out --bind_stderr 
> /opt/ats/var/log/trafficserver/traffic.out
>    -2 26952 26951   0 10:13AM ??         0:00.08 /opt/ats/bin/traffic_server 
> -M --bind_stdout /opt/ats/var/log/trafficserver/traffic.out --bind_stderr 
> /opt/ats/var/log/trafficserver/traffic.out --httpport 8080:fd=12
> {code}
> Now restart it using {{traffic_line -S}} followed by {{traffic_line -U}}:
> {code}
>     0 26950     1   0 10:13AM ??         0:00.01 /opt/ats/bin/traffic_cop
>    -2 26951 26950   0 10:13AM ??         0:00.05 /opt/ats/bin/traffic_manager 
> --bind_stdout /opt/ats/var/log/trafficserver/traffic.out --bind_stderr 
> /opt/ats/var/log/trafficserver/traffic.out
>    -2 26967 26951   0 10:13AM ??         0:00.12 /opt/ats/bin/traffic_server 
> -M --httpport 8080:fd=20
> {code}
> Note that we lost the {{\--bind_stdout}} and {{\--bind_stderr}} options.



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

Reply via email to