You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "abs007 (via GitHub)" <gi...@apache.org> on 2023/04/01 06:40:03 UTC

[GitHub] [apisix] abs007 commented on pull request #9210: feat: Add support for custom named log file names for log-rotate plugin

abs007 commented on PR #9210:
URL: https://github.com/apache/apisix/pull/9210#issuecomment-1492852569

   Does this block run if custom names for the `error` and `access` log are set:
   ```lua
       if not default_logs then
           -- first init default log filepath and filename
           default_logs = {}
           init_default_logs(default_logs, DEFAULT_ACCESS_LOG_FILENAME)
           init_default_logs(default_logs, DEFAULT_ERROR_LOG_FILENAME)
       end
   ```
   https://github.com/apache/apisix/blob/master/apisix/plugins/log-rotate.lua#L285


-- 
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-unsubscribe@apisix.apache.org

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