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

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

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

   > ```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
   > ```
   
   This block is used to init `default_logs` when the first time run  the `rotate` function


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