[ 
http://issues.apache.org/jira/browse/LOG4NET-3?page=comments#action_62546 ]
     
G�ran Roseen commented on LOG4NET-3:
------------------------------------

If the pattern only expands "application-static" info, such as username, or the 
thread ID of the initial thread, the pattern could be expanded at the time the 
appender is initialized.

That way, we have no problem with opening/closing log files, and still can 
satisfy the need to have user-specific or instance-specific log files.



> Support per event patterns in FileAppender File name
> ----------------------------------------------------
>
>          Key: LOG4NET-3
>          URL: http://issues.apache.org/jira/browse/LOG4NET-3
>      Project: Log4net
>         Type: Improvement
>   Components: Appenders
>     Versions: 1.2.9
>  Environment: From sourceforge: 812999
>     Reporter: Nicko Cadell

>
> 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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to