sentry-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Somogyi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-2403) Incorrect naming in RollingFileWithoutDeleteAppender
Date Fri, 14 Sep 2018 11:30:00 GMT

     [ https://issues.apache.org/jira/browse/SENTRY-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Peter Somogyi updated SENTRY-2403:
----------------------------------
    Attachment: SENTRY-2403.001.patch

> Incorrect naming in RollingFileWithoutDeleteAppender
> ----------------------------------------------------
>
>                 Key: SENTRY-2403
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2403
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Peter Somogyi
>            Priority: Major
>              Labels: log
>         Attachments: SENTRY-2403.001.patch
>
>
> RollingFileWithoutDeleteAppender names the log files incorrectly. The current timestamp
is appended to the end of the current log file when rollOver() is called and the previous
timestamp is not removed.
> The following files are generated:
> {noformat}
> auditLog.log.1536920157248
> auditLog.log.1536920157248.1536920157256
> auditLog.log.1536920157248.1536920157256.1536920157265
> auditLog.log.1536920157248.1536920157256.1536920157265.1536920157268
> auditLog.log.1536920157248.1536920157256.1536920157265.1536920157268.1536920157270
> auditLog.log.1536920157248.1536920157256.1536920157265.1536920157268.1536920157270.1536920157272
> auditLog.log.1536920157248.1536920157256.1536920157265.1536920157268.1536920157270.1536920157272.1536920157274
> auditLog.log.1536920157248.1536920157256.1536920157265.1536920157268.1536920157270.1536920157272.1536920157274.1536920157276
> auditLog.log.1536920157248.1536920157256.1536920157265.1536920157268.1536920157270.1536920157272.1536920157274.1536920157276.1536920157278
> auditLog.log.1536920157248.1536920157256.1536920157265.1536920157268.1536920157270.1536920157272.1536920157274.1536920157276.1536920157278.1536920157279
> {noformat}
> This can cause problem on certain filesystems (e.g. ext4) when the filename reaches 255
characters.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message