zsu (JIRA | 29 Mar 02:45 2010
Picon

[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 "rootLog%U.log" 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.


Gmane