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 "Abdelrahman (JIRA)" <ji...@apache.org> on 2013/01/07 18:22:13 UTC

[jira] [Updated] (LOG4NET-365) Missing Logs

     [ https://issues.apache.org/jira/browse/LOG4NET-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Abdelrahman updated LOG4NET-365:
--------------------------------

    Attachment: MissingLogs.zip

Attached are 
1- the WCF service "TestWCF"
2- A console application that calls the wcf service 
3- Log files that I have collected.  
                
> Missing Logs
> ------------
>
>                 Key: LOG4NET-365
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-365
>             Project: Log4net
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: Windows 7, VS 2010, VS 2012, WCF 4 
>            Reporter: Abdelrahman
>             Fix For: 1.2.10
>
>         Attachments: MissingLogs.zip
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 1- Create a WCF service using VS2010 that do a basic operation "GetDate" that returns a string and also log this string into a text file using the below appender
> <log4net debug="true">
> 		<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
> 			<file type="log4net.Util.PatternString" value="C:\testproj\TestLog_DEV__%property{log4net:HostName}__"/>
> 			<dateKind value="utc"/>
> 			<rollingStyle value="Composite"/>
> 			<rollMinuteInterval value="5"/>
> 			<datePattern value="yyyyMMdd\tHHmm00.lo\g"/>
> 			<maxSizeRollBackups value="-1"/>
> 			<maximumFileSize value="50KB"/>
> 			<layout type="log4net.Layout.PatternLayout">
> 				<header value="#Fields: date time c-ip s-ip cs(User-Agent) cs(Cookie) cs-uri-stem cs-uri-query&#xD;&#xA;"></header>
> 				<conversionPattern value="%utcdate{yyyy-MM-dd} %utcdate{HH:mm:ss} %message%newline" />
> 			</layout>
> 			<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
> 		</appender>
> 		<logger name="RollingLogFileAppender">
> 			<level value="Info" />
> 			<appender-ref ref="RollingLogFileAppender" />
> 		</logger>
> 	</log4net>
> 2-  Create a new console application using VS 2012 and add a service reference to the wcf service, make sure to check the option "create asynchronous operation".
> 3- In a for loop call the the WCF method for 40,000 times asynchronously.
> 4- Check the log entries in the text files, you notice that the number of log entries are less than 40,000.  
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira