soulbird commented on issue #5658:
URL: https://github.com/apache/apisix/issues/5658#issuecomment-1171385992

   > ```
   > 2022/06/30 07:00:00 [error] 48#48: *12614439 [lua] log-rotate.lua:206: 
compression_file(): remove uncompressed log file: 
/usr/local/apisix/logs//2022-06-30_07-00-00__access.log fail, 
err:/usr/local/apisix/logs//2022-06-30_07-00-00__access.log: No such file or 
directory  res:nil, context: ngx.timer
   > ```
   > 
   > why is there a extra slash? 
/usr/local/apisix/logs//2022-06-30_07-00-00__access.log
   > 
   > ```
   > plugin_attr:                                                               
                              
   >   log-rotate:                                                              
                              
   >     interval: 3600    # rotate interval (unit: second)                     
                               
   >     max_kept: 168     # max number of log files will be kept               
                              
   >     enable_compression: true    # enable log file compression(gzip) or 
not, default false
   > ```
   > 
   > version:2.14.1
   > 
   > btw,change compression to false then log back to normal
   
   Can you provide more information? I can't reproduce it with your 
configuration


-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to