You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Peter Somogyi (JIRA)" <ji...@apache.org> on 2018/09/14 11:30:00 UTC

[jira] [Updated] (SENTRY-2403) Incorrect naming in RollingFileWithoutDeleteAppender

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