bzp2010 commented on issue #11915:
URL: https://github.com/apache/apisix/issues/11915#issuecomment-2676372787

   It doesn't make much sense why log-rotate would need to be used or work 
properly if the error logs will be output to a standard error device.
   
   When you use /dev/stderr, log truncation or ratating here should be managed 
by the docker daemon (for container) or systemd (for bare metal), not APISIX 
itself. So at this point APISIX should ignore the error_log path and not rotate.
   
   However, APISIX itself can't tell which paths don't make sense to rotate, 
and perhaps just hard-coding /dev/stderr isn't enough, so perhaps you shouldn't 
use a dev and a file at the same time, which does cause problems with 
log-rotate.
   
   What do you think?
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to