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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
