You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "rafitadiaz (via GitHub)" <gi...@apache.org> on 2025/09/19 13:36:43 UTC

[I] The parameter `druid.request.logging.rollPeriod` is being ignored/malfunctioning (druid)

rafitadiaz opened a new issue, #18551:
URL: https://github.com/apache/druid/issues/18551

   ### Affected Version
   30.0.1
   
   ### Description
   
   The parameter `druid.request.logging.rollPeriod` is being ignored/malfunctioning
   
   
   We notice that our Druid was filling the disk because our requests logs were very big, so we decided to increase the rotation and make them smaller.
   
   Original configuration:
   
   ```ini
   druid.request.logging.type=file
   druid.request.logging.dir=/opt/druid/var/request_log
   druid.request.logging.filePattern='druid_requests_'yyyy-MM-dd'.log'
   druid.request.logging.rollPeriod=P1D
   druid.request.logging.durationToRetain=P1D
   ```
   
   New Configuration:
   
   ```ini
   druid.request.logging.type=file
   druid.request.logging.dir=/opt/druid/var/request_log
   druid.request.logging.filePattern='druid_requests_'yyyy-MM-dd-HH'.log'
   druid.request.logging.rollPeriod=PT1H
   druid.request.logging.durationToRetain=P1D
   ```
   
   ## Expected Result
   
   The logs rotating every hour with a patter similar to this one and being deleted after 1 day.
   ```
   druid_requests_2025-09-19-09.log
   druid_requests_2025-09-19-10.log
   druid_requests_2025-09-19-11.log
   ...
   ```
   
   ## Actual Result
   
   The system just create a single log with `-00` as hour which is rotated daily
   
   ```
   druid_requests_2025-09-19-00.log
   ```
   
   Changing the rotation period to something smaller do not help and changing filePatter to something more accurate like `druid_requests_'yyyy-MM-dd-HH-mm'.log` it just create a log `druid_requests_2025-09-19-00-00.log` with daily rotation
   


-- 
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: commits-unsubscribe@druid.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] The parameter `druid.request.logging.rollPeriod` is being ignored/malfunctioning (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #18551:
URL: https://github.com/apache/druid/issues/18551#issuecomment-5137814462

   This issue has been closed due to lack of activity. If you think that
   is incorrect, or the issue requires additional review, you can revive the issue at
   any time.


-- 
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: commits-unsubscribe@druid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] The parameter `druid.request.logging.rollPeriod` is being ignored/malfunctioning (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #18551:
URL: https://github.com/apache/druid/issues/18551#issuecomment-4861247578

   This issue has been marked as stale due to 280 days of inactivity.
   It will be closed in 4 weeks if no further activity occurs. If this issue is still
   relevant, please simply write any comment. Even if closed, you can still revive the
   issue at any time or discuss it on the dev@druid.apache.org list.
   Thank you for your contributions.


-- 
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: commits-unsubscribe@druid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] The parameter `druid.request.logging.rollPeriod` is being ignored/malfunctioning (druid)

Posted by "a2l007 (via GitHub)" <gi...@apache.org>.
a2l007 commented on issue #18551:
URL: https://github.com/apache/druid/issues/18551#issuecomment-3330654594

   Could you please confirm your Druid version? The rollPeriod feature was introduced in Druid v34.0


-- 
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: commits-unsubscribe@druid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] The parameter `druid.request.logging.rollPeriod` is being ignored/malfunctioning (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #18551: The parameter `druid.request.logging.rollPeriod` is being ignored/malfunctioning
URL: https://github.com/apache/druid/issues/18551


-- 
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: commits-unsubscribe@druid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org