You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Bassam Tabbara (JIRA)" <ji...@apache.org> on 2010/10/12 19:43:32 UTC

[jira] Commented: (LOG4NET-59) [PATCH] to RollingFileAppender.cs to add the ability to roll files based on universal time (UTC).

    [ https://issues.apache.org/jira/browse/LOG4NET-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920273#action_12920273 ] 

Bassam Tabbara commented on LOG4NET-59:
---------------------------------------

I believe there is still a bug with this fix that went into r398209. RollingFileAppender.RollOverIfDateBoundaryCrossing() still uses the local file time. Attached is a patch that fixes the problem.

> [PATCH] to RollingFileAppender.cs to add the ability to roll files based on universal time (UTC).
> -------------------------------------------------------------------------------------------------
>
>                 Key: LOG4NET-59
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-59
>             Project: Log4net
>          Issue Type: New Feature
>          Components: Appenders
>    Affects Versions: 1.2.9
>            Reporter: Lanchon
>            Assignee: Ron Grabowski
>             Fix For: 1.2.11
>
>         Attachments: informative-diff.txt, Original-1.2.9-beta-RollingFileAppender.cs, Patched-1.2.9-beta-RollingFileAppender.cs, RollingFileAppender_UniversalDateTime.patch
>
>
> the file naming and rolling time zone is selected via a new property. the default value of this property provides backwards compatible bahviour. the patch is done on the published 1.2.9beta version. the diff file is only informative (not made with the right tool), use original and patched files to create a useful diff (accpet my apologies for this). -L

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.