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

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

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

Sergio Peña reassigned SENTRY-2403:
-----------------------------------

    Assignee: Peter Somogyi

> 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
>            Assignee: Peter Somogyi
>            Priority: Major
>              Labels: log
>         Attachments: SENTRY-2403.001.patch, SENTRY-2403.002.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)