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 "zsu (JIRA)" <ji...@apache.org> on 2010/03/29 02:45:27 UTC

[jira] Commented: (LOG4NET-3) Support per event patterns in FileAppender File name

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

zsu commented on LOG4NET-3:
---------------------------

Check out the RollingPatternFileAppender at http://mysite.verizon.net/vze14bhji/RollingPatternFileAppender.htm
It can create log file with dynamic name and has all the rolling features like RollingFileAppender.

> Support per event patterns in FileAppender File name
> ----------------------------------------------------
>
>                 Key: LOG4NET-3
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-3
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Appenders
>    Affects Versions: 1.2.9
>         Environment: From sourceforge: 812999
>            Reporter: Nicko Cadell
>            Assignee: Nicko Cadell
>             Fix For: 1.2.10
>
>
> If I could specify file name patter for
> (Rolling)FileAppender that would be filled by the
> appender prior to openning the file, I could let many
> individuals run the same applikation (on terminal
> server) and still log to file (not RemotingAppender or
> ADONetAppernder)
> I guess, pattern like &quot;rootLog%U.log&quot; would do, if
> appender replaced %U with
> Thread.CurrentThread.CurrentPrincipal.Identity.Name ...
> Or %T with thread id and so on...
> Anonymous

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