logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Chun Kit <chunki...@gmail.com>
Subject Re: Date Rollover filename
Date Wed, 06 Apr 2011 03:18:10 GMT
David Gerler <dgerler <at> gmail.com> writes:

> 
> 
> It should be noted as well that I had to escape the t’s in txt.
>  
> yyyy-MM-dd.\tx\t
>  

Log4Net's DatePattern uses SimpleDateFormatter which uses .NET's 
DateTime.ToString() method  so this works as well:

<datePattern value="yyyy-MM-dd.'txt'" />

Links:
http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx


Mime
View raw message