<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://blog.gmane.org/gmane.comp.log.log4net.user">
    <title>gmane.comp.log.log4net.user</title>
    <link>http://blog.gmane.org/gmane.comp.log.log4net.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3640"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3639"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3638"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3637"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3636"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3635"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3634"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3633"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3632"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3631"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3630"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3629"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3628"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3627"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3626"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3625"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3624"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3623"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3622"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.log.log4net.user/3621"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3640">
    <title>Raj Muchhala is out of the office.</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3640</link>
    <description>
I will be out of the office starting  07/24/2008 and will not return until
07/25/2008.

7-24 -&gt; I am OOO due to sick family member.  I will be checking email
sporadically


**************************************************************************************
This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof.

Thank you.
**************************************************************************************

</description>
    <dc:creator>raj.muchhala&lt; at &gt;assurant.com</dc:creator>
    <dc:date>2008-07-24T14:27:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3639">
    <title>Writing large Strings (&gt; 4000Byte) to Oracle database</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3639</link>
    <description>
How can I write large text strings (larger then 4000Byte) to a
log4net.Appender.AdoNetAppender. 

Up to 4000Byte it works fine with the dbType:String. But how can I write
larger Strings.
(Mostly used for writing stack trace to a database)

Can I do it over a CLOB?


&lt;appender name="AdoNetAppender_BusinessLogic"
type="log4net.Appender.AdoNetAppender"&gt;
  ...
  &lt;connectionType value="CoreLab.Oracle.OracleConnection, CoreLab.Oracle"/&gt;
  ...
  &lt;parameter&gt;&lt;parameterName value="Message"/&gt;&lt;dbType value="String"/&gt;&lt;layout
type="log4net.Layout.PatternLayout"&gt;&lt;conversionPattern
value="%message"/&gt;&lt;/layout&gt;&lt;/parameter&gt;
  ...
&lt;/appender&gt;

</description>
    <dc:creator>BushTacker</dc:creator>
    <dc:date>2008-07-24T12:04:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3638">
    <title>FW: AdoNetAppender: can not read custom properties from LoggingEvent using configuration file</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3638</link>
    <description>I used a extended log using example:      

 

http://svn.apache.org/viewvc/logging/log4net/trunk/extensions/net/1.0/log4ne

t.Ext.EventID/cs/src/EventIDLogImpl.cs?view=co .

 

 

 

 I have properties InstanceId that is setted in extended log:  

 

            LoggingEvent loggingEvent = new

 

                  LoggingEvent(ThisDeclaringType, Logger.Repository,
Logger.Name,

 

                                                             Level.Info,
message, exc);

 

            loggingEvent.Properties["InstanceId"] = logData.DCSInstanceId;

 

            Logger.Log(loggingEvent);

 

 I received error: 

 

      [6108] log4net:ERROR XmlHierarchyConfigurator: Cannot find Property
[conversionPattern] to set object on
[log4net.Appender.AdoNetAppenderParameter] 

 

 

 

 Where it is the problem? Do you can help me? The logs works correctly if
uses other appender: "log4net.Appender.OutputDebugStringAppender"

 

 

 

 

 

I used log4net 1.2.10.0(windows) with following configuration for log4net:

 

 

 

&lt;log4net&gt;

 

    &lt;appender name="AdoNetAppender_SqlServer"

 

type="log4net.Appender.AdoNetAppender"&gt;

 

    &lt;bufferSize value="100"/&gt;

 

    &lt;connectionType value="System.Data.SqlClient.SqlConnection, System.Data,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /&gt;

 

    &lt;connectionString value="data source=XXX; initial catalog=XXX;
integrated security=false;persist security info=True;User
ID=XXX;Password=XXX" /&gt; 

 

    &lt;commandText value="[Routine].[usp_InsertLog]" /&gt;

 

    &lt;commandType value="StoredProcedure" /&gt;

 

    &lt;parameter&gt;

 

        &lt;parameterName value="&lt; at &gt;log_date" /&gt;

 

        &lt;dbType value="DateTime" /&gt;

 

        &lt;layout type="log4net.Layout.RawTimeStampLayout" /&gt;

 

    &lt;/parameter&gt;

 

    &lt;parameter&gt;

 

        &lt;parameterName value="&lt; at &gt;message" /&gt;

 

        &lt;dbType value="String" /&gt;

 

        &lt;size value="4000" /&gt;

 

        &lt;layout type="log4net.Layout.PatternLayout"&gt;

 

        &lt;conversionPattern value="%message" /&gt;

 

        &lt;/layout&gt;

 

    &lt;/parameter&gt;

 

    &lt;parameter&gt;

 

          &lt;parameterName value="&lt; at &gt;instance_id" /&gt;

 

          &lt;dbType value="int32" /&gt; 

 

          &lt;layout type="Dcs.Log.ProtocolInfoPatternLayout, Dcs.Log" /&gt;

 

          &lt;layout type="log4net.Layout.PatternLayout"&gt;

 

          &lt;conversionPattern value="%P{InstanceId}" /&gt;

 

    &lt;/parameter&gt;

 

&lt;/appender&gt;

 

 

 

&lt;root&gt;

 

      &lt;level value="DEBUG" /&gt;

 

      &lt;appender-ref ref="DebugView" /&gt;

 

      &lt;appender-ref ref="AdoNetAppender_SqlServer" /&gt; &lt;/root&gt; &lt;/log4net&gt;

 

 

 

Have a nice day

 

Andy

 

</description>
    <dc:creator>Andrei Leca</dc:creator>
    <dc:date>2008-07-23T12:06:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3637">
    <title>Re: how to configure a "deny stringmatch filter"</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3637</link>
    <description>I tried but...

To be concrete, which I need is not to record in the log file (Im using
FileAppender in this case) messages which contain string "ORA-00001"

Then I tried with the following filter:

        &lt;filter type="log4net.Filter.StringMatchFilter"&gt;
            &lt;acceptOnMatch value="*false*" /&gt;
            &lt;stringToMatch value="ORA-00001" /&gt;
        &lt;/filter&gt;

But..errors messages with "ORA-00001" are logged :(

Peculiarly, with the following filter:

        &lt;filter type="log4net.Filter.StringMatchFilter"&gt;
            &lt;acceptOnMatch value="true" /&gt;
            &lt;stringToMatch value="ORA-00001" /&gt;
        &lt;/filter&gt;
        &lt;filter type="log4net.Filter.DenyAllFilter" /&gt;

Only messages that contain the string "ORA-00001" are logged (OK, it's the
behavior that I would hope)

And with the following filter:

        &lt;filter type="log4net.Filter.StringMatchFilter"&gt;
            &lt;acceptOnMatch value="false" /&gt;
            &lt;stringToMatch value="ORA-00001" /&gt;
        &lt;/filter&gt;
        &lt;filter type="log4net.Filter.DenyAllFilter" /&gt;

No message is recorded in log (OK, it's the behavior that I would hope)

Some Idea?


2008/7/20 Daniel Williams &lt;dlwiii&lt; at &gt;gmail.com&gt;:

</description>
    <dc:creator>Alexander Wolff</dc:creator>
    <dc:date>2008-07-21T18:27:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3636">
    <title>Re: how to configure a "deny stringmatch filter"</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3636</link>
    <description>I believe this will work:

&lt;filter type="log4net.Filter.StringMatchFilter"&gt;
    &lt;stringToMatch value="database" /&gt;
    &lt;acceptOnMatch="false"/&gt;
&lt;/filter&gt;
&lt;filter type="denyAllFilter"/&gt;

If not this exactly, then search for acceptOnMatch and see what the
right settings are.

Cheers,
Daniel Williams

On Sat, Jul 19, 2008 at 10:55 PM, Alexander Wolff
&lt;awolff&lt; at &gt;concepto.com.uy&gt; wrote:

</description>
    <dc:creator>Daniel Williams</dc:creator>
    <dc:date>2008-07-20T13:38:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3635">
    <title>how to configure a "deny stringmatch filter"</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3635</link>
    <description>the following filter:

&lt;filter type="log4net.Filter.StringMatchFilter"&gt;
    &lt;stringToMatch value="database" /&gt;
&lt;/filter&gt;

Look for the substring 'database' in the message text of the event, in the
case that text is found the filter is ACCEPTED and the message is logged. OK

I want to configure a filter that DENY the substring 'database' (don't log
the message)

how can I configure that?

thanks in advance,
Alexander Wolff
</description>
    <dc:creator>Alexander Wolff</dc:creator>
    <dc:date>2008-07-20T04:55:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3634">
    <title>Re: RollingFileAppender not working</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3634</link>
    <description>Thanks Rennie. I have tried to give Everyone full control to try debugging
this. Didnt help though.



On 7/18/08, Rennie Petersen &lt;rp&lt; at &gt;merlinia.com&gt; wrote:


</description>
    <dc:creator>vikram srinivasan</dc:creator>
    <dc:date>2008-07-18T15:25:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3633">
    <title>RE: RollingFileAppender not working</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3633</link>
    <description> 
This is a wild guess, but could it be related to changed security rights
and permissions to the location of the log files relative to the Windows
account that the program is running under?
 
Rennie
 


________________________________

From: vikram srinivasan [mailto:vikramtheking&lt; at &gt;googlemail.com] 
Sent: 18. juli 2008 16:19
To: log4net-user&lt; at &gt;logging.apache.org
Subject: RollingFileAppender not working


Hi All
 
We have an app that uses log4net 1.2.0.22663. Its deployed on
Win2K3 server, running on IIS 6.0. My log4net config look like, 
 
&lt;log4net debug="false"&gt;
  &lt;appender name="LogFileAppender"
type="log4net.Appender.RollingFileAppender,log4net"&gt;
   &lt;param name="File"
value="..\\..\\settings\\logs\\WindowsCWSLog.txt"/&gt;
   &lt;param name="AppendToFile" value="true"/&gt;
   &lt;param name="RollingStyle" value="Size"/&gt;
   &lt;param name="MaxSizeRollBackups" value="20"/&gt;
   &lt;!-- max file size for hte log before it rolls over... 10MB
--&gt;
   &lt;param name="MaximumFileSize" value="10000KB"/&gt;
   &lt;param name="StaticLogFileName" value="true"/&gt;
   &lt;layout type="log4net.Layout.PatternLayout"&gt;
    &lt;param name="ConversionPattern" value="%d [%t] %-5p %c [%x]
- %m%n"/&gt;
   &lt;/layout&gt;
  &lt;/appender&gt;
  &lt;root&gt;
   &lt;level value="DEBUG"/&gt;
   &lt;appender-ref ref="LogFileAppender"/&gt;
  &lt;/root&gt;
 &lt;/log4net&gt;    
    
As you can see I have set up a size based rolling over.
Recently, this seems to have broken. I turned on internal debugging and
got this error,
log4net:ERROR RollingFileAppenderOutput stream for appender
named [LogFileAppender] has been closed.
 
Rolling over is no longer happening and logging is off until I
manually roll the file over. Also, the count direction (although not set
in the config) is less than 0 as I see the last rolled over file having
the highest number.
 
Any thoughts?
 
Thanks
Srini

</description>
    <dc:creator>Rennie Petersen</dc:creator>
    <dc:date>2008-07-18T15:21:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3632">
    <title>RollingFileAppender not working</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3632</link>
    <description>Hi All

We have an app that uses log4net 1.2.0.22663. Its deployed on Win2K3 server,
running on IIS 6.0. My log4net config look like,

&lt;log4net debug="false"&gt;
  &lt;appender name="LogFileAppender"
type="log4net.Appender.RollingFileAppender,log4net"&gt;
   &lt;param name="File" value="..\\..\\settings\\logs\\WindowsCWSLog.txt"/&gt;
   &lt;param name="AppendToFile" value="true"/&gt;
   &lt;param name="RollingStyle" value="Size"/&gt;
   &lt;param name="MaxSizeRollBackups" value="20"/&gt;
   &lt;!-- max file size for hte log before it rolls over... 10MB --&gt;
   &lt;param name="MaximumFileSize" value="10000KB"/&gt;
   &lt;param name="StaticLogFileName" value="true"/&gt;
   &lt;layout type="log4net.Layout.PatternLayout"&gt;
    &lt;param name="ConversionPattern" value="%d [%t] %-5p %c [%x] - %m%n"/&gt;
   &lt;/layout&gt;
  &lt;/appender&gt;
  &lt;root&gt;
   &lt;level value="DEBUG"/&gt;
   &lt;appender-ref ref="LogFileAppender"/&gt;
  &lt;/root&gt;
 &lt;/log4net&gt;

As you can see I have set up a size based rolling over. Recently, this seems
to have broken. I turned on internal debugging and got this error,
log4net:ERROR RollingFileAppenderOutput stream for appender named
[LogFileAppender] has been closed.

Rolling over is no longer happening and logging is off until I manually roll
the file over. Also, the count direction (although not set in the config) is
less than 0 as I see the last rolled over file having the highest number.

Any thoughts?

Thanks
Srini
</description>
    <dc:creator>vikram srinivasan</dc:creator>
    <dc:date>2008-07-18T14:18:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3631">
    <title>Re: XML configuration, windows service</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3631</link>
    <description>Hi,
thx for your post ;-)
we are doing it like your solution 2.
We have no gui cof for that service, but, we will add one soon, so we 
can add there.

Best Regards A.
Rennie Petersen napsal(a):


</description>
    <dc:creator>Aleš Vojáček</dc:creator>
    <dc:date>2008-07-17T14:06:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3630">
    <title>RE: XML configuration, windows service</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3630</link>
    <description>Two suggestions:

1. The right way: In your service's admin program (I'm assuming it has one?) include support for cranking logging up and down using a drop-down box on the GUI, and sending the info to the service program which modifies the XML config file. This requires support in the admin program and the service program, but makes things very user-friendly - the customer does not even need to copy a settings file, they just crank logging up, wait a while, crank logging down and send you the log file.

2. A possible quick-and-dirty solution: Send your customers two XML config files, one to start logging and one to stop it. 

Rennie



</description>
    <dc:creator>Rennie Petersen</dc:creator>
    <dc:date>2008-07-17T14:00:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3629">
    <title>XML configuration, windows service</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3629</link>
    <description>Hi all,
I'm using

[assembly: log4net.Config.XmlConfigurator(ConfigFileExtension = "conflog", Watch = true)]

in AssemblyInfo.cs

Almost everything works fine.
When I started service without config file there is no problem, simply service does not generate log.
Then I add config file into service directory, again everything works fine, it starts logging.
If I change config file then the configuration change and again everything is ok.

But when I delete config file then service still loging, I hoped that it stops logging.

How to do that, I know that it can be done using change config file 
instead of deleting it, but I need some more simple solution, because it 
wil be used by our customers which has no knowledge about editing files. 
I hoped that I will send them config file, which they simply copy into 
app directory, then they send me log file back and then delete config 
file. All without restarting service.

Can you someone help me with that?

A.

</description>
    <dc:creator>Aleš Vojáček</dc:creator>
    <dc:date>2008-07-17T12:11:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3628">
    <title>AdoNetAppender.ActivateOptions not using correct connection string?</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3628</link>
    <description>I am using an adonetappender.  THe appender is defined an a separate
config file, and I use assembly attributes to load it.
In my code, early on, I get the appender and set its connection string.
But when I call ActivateOptions, I get an error - it seems the
appender is trying to use the old, dummy, connection string that I
defined in the config  file.  This is not what it should do.

Any ideas?  Is it not possible to set the connection string at
runtime?  I saw posts explaining how  to to exactly this, and no one
mentioend this issue.

Cheers,
Daniel

</description>
    <dc:creator>Daniel Williams</dc:creator>
    <dc:date>2008-07-10T17:05:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3627">
    <title>Re: Must declare a logger in the exe?</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3627</link>
    <description>You need to make a logging call in the exe too (or at least define a logger,
as you say):

"It is necessary that the first call to LogManager.GetLogger made during the
process (or AppDomain) is made from the assembly that has the configuration
attributes"

http://logging.apache.org/log4net/release/faq.html#When%20should%20I%20log%20my%20first%20message?&lt;http://logging.apache.org/log4net/release/faq.html#When%20should%20I%20log%20my%20first%20message&gt;
2008/7/2 Daniel Williams &lt;dlwiii&lt; at &gt;gmail.com&gt;:




</description>
    <dc:creator>Piers Williams</dc:creator>
    <dc:date>2008-07-04T03:54:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3626">
    <title>Must declare a logger in the exe?</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3626</link>
    <description>I have a dll that I recently put log4net logging into.  It  is called
by many different executables.  So I wanted to find out what is the
minimum I must do so that an exe will cause the logging to happen in
the dll.

Add reference to log4net
Add [assembly:log4net.Config.XmlConfigurator(ConfigFile="log4net.config",
Watch=true)] to the exe's assemblyInfo.cs

That should be it, right?  We've referenced the dll, and called
configure using the assembly attribute.

However, this does not cause my dll to log.  I find that only if I
declare a logger in the exe, only then will the logging in my dll
start.
Does this make sense?  Am I missing something?  I would like to know
the very minimum of code changes required to get logging to work.

Cheers,
Daniel

</description>
    <dc:creator>Daniel Williams</dc:creator>
    <dc:date>2008-07-01T23:40:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3625">
    <title>EventLog Appender on Win2k3 with ASP.net</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3625</link>
    <description>I haven't seen this addressed, so here's my problem and solution for
anyone that may be interested.

 

I developed an app on XP and all my logs would make it into the EventLog
without any issues.  I was using a new Eventlog "mylog" and the
application name is "myapp".  I knew that I had to create the log and
source because asp.net didn't have rights to create the new log.

 

System.Diagnostics.EventLog.CreateEventSource("myapp", "mylog");

 

This worked and everything was good.  Then I went to Win2k3 where
registry security has been locked down, and my log messages no longer
showed up.  After a day of searching I finally found
http://www.jameskovacs.com/blog/CommentView.aspx?guid=cd6e5f6e-7107-48bc
-8563-f5669706fcdc which had the solution to my problem.  I needed to go
to the registry and modify the CustomSD value under
HKLM\SYSTEM\CurrentControlSet\Services\EventLog\mylog\ I had to add
(A;;0x3;;;AU) to the end since I was using a non default user to run my
asp.net app.  Now my log messages are showing up under Win3k2.

 

Hope this helps... maybe it could be added to the FAQ?

 

Jerry



This e-mail is confidential and is intended solely for the use of the addressee(s). Opinions expressed are solely those of the author and may not be those of RedPrairie. Content is not to be relied upon by any person other than the addressee(s), without prior written approval of RedPrairie. If you are not the intended recipient, please notify us immediately, destroy any copies and delete from your computer systems.
If you have received this e-mail in error, any use, disclosure, dissemination, forwarding, printing or copying is strictly prohibited.
Although this email and any attachments are believed to be free of any virus or other defects which might affect any computer or IT system into which they are received, no responsibility is accepted by RedPrairie for any loss or damage arising in any way from the receipt or use therein.</description>
    <dc:creator>Pattenaude, Jerry</dc:creator>
    <dc:date>2008-07-01T16:20:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3624">
    <title>RE: rich text box and scroll</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3624</link>
    <description>Ce message et ses pièces jointes (le "message") est destiné à l'usage    
exclusif de son destinataire.                                            
Si vous recevez ce message par erreur, merci d'en aviser immédiatement   
l'expéditeur  et de le détruire ensuite. Le présent message  pouvant  
être altéré à notre insu,  CALYON Crédit Agricole CIB                             
ne peut pas être engagé par son contenu. Tous droits réservés. 
          
This message and/or any  attachments (the "message") is intended for     
the sole use of its addressee.                                            
If you are not the addressee, please immediately notify the sender and    
then destroy the message.  As this message and/or any attachments may 
have been altered without our knowledge,  its content  is not legally 
binding on CALYON Crédit Agricole CIB. All rights reserved.                                                                
</description>
    <dc:creator>Graham Walsh</dc:creator>
    <dc:date>2008-07-01T07:13:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3623">
    <title>Message encoding</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3623</link>
    <description>
Hi everyone,

I have a remoting appender in place, but it looks like the encoding of the message isn't unicode or at least it doesn't support the equivalent of (char)172 because that special characters gets all weird on the server side. Is there anyway to set which encoding the logger/appender are using, specially in the case of remoting.

Thanks,
Yann 
</description>
    <dc:creator>Yann Luppo</dc:creator>
    <dc:date>2008-06-27T22:49:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3622">
    <title>Default PatternLayout date format is not ISO8601</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3622</link>
    <description>I could find no FAQ on this so I am reporting this here.  Everyone repeats that
%date{ISO8601} will produce ISO8601 format for dates.  Beyond that, the documentation says
that the default form of the %date in PatternLayout is ISO8601.

This appears to be wrong based on the statement of the ISO8601 standard at
http://www.w3.org/TR/NOTE-datetime.  

An example should illustrate the difference easily.

Sample output of %date{ISO8601}:

2008-06-27 15:24:27,421

But if the above elements (down to the fractional second) are to be displayed, the ISO8601
standard says it should be (assuming Pacific Time in this sample)

2008-06-27T15:24:27.421-07:00

The ISO8601 correct format is *possible* in log4net, of course, but it is not the default.
I don't know whether this is a bug in log4net or whether the documentation is just out of
date or what.  I will leave that for others to sort out but there is a mismatch between
the documentation and the behavior.

Eric Chamberlain
VentriPoint, Inc. | www.ventripoint.com | Software Engineer 
Helping heart care through innovative diagnostic solutions

</description>
    <dc:creator>Eric Chamberlain</dc:creator>
    <dc:date>2008-06-27T22:33:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3621">
    <title>Parsing a log generated by a RollingFileAppender with LINQ to XML</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3621</link>
    <description>Hello, 

This post is not directly related to log4net. However, I have a parsing
issue with one of the generated log file.

I'm currently trying to parse (with LINQ to XML) a log file generated by a
RollingFileAppender.
It has the format as shown at the end of this post (XML fragment, undeclared
namespace).

I tried to load it using the XElement.Load() method. However, it throws an
exception telling me that the "log4j" namespace is undeclared.

Has anyone already tried to load such a file using linq?

Thanks for any feedback!
José

 

&lt;log4j:event logger="InternalLog" timestamp="1214275497000" level="DEBUG"
thread="943180"&gt;&lt;log4j:message&gt;completed registering new logger for category
AFCLOGGING&lt;/log4j:message&gt;&lt;log4j:properties&gt;&lt;log4j:data name="application"
value="WindowsCE" /&gt;&lt;log4j:data name="log4net:UserName" value="NOT
AVAILABLE" /&gt;&lt;log4j:data name="log4jmachinename" value="WindowsCE"
/&gt;&lt;log4j:data name="log4net:Identity" value="NOT AVAILABLE" /&gt;&lt;log4j:data
name="log4net:HostName" value="WindowsCE" /&gt;&lt;log4j:data name="log4japp"
value="DBUtilities.SQL.UnitTestsCE.exe"
/&gt;&lt;/log4j:properties&gt;&lt;log4j:locationInfo class="AFCLogging.Logging"
method="Logging" file="Logging.cs" line="82" /&gt;&lt;/log4j:event&gt;

&lt;log4j:event logger="InternalLog" timestamp="1214275498000" level="DEBUG"
thread="943180"&gt;&lt;log4j:message&gt;completed registering new logger for category
InternalLog&lt;/log4j:message&gt;&lt;log4j:properties&gt;&lt;log4j:data name="application"
value="WindowsCE" /&gt;&lt;log4j:data name="log4net:UserName" value="NOT
AVAILABLE" /&gt;&lt;log4j:data name="log4jmachinename" value="WindowsCE"
/&gt;&lt;log4j:data name="log4net:Identity" value="NOT AVAILABLE" /&gt;&lt;log4j:data
name="log4net:HostName" value="WindowsCE" /&gt;&lt;log4j:data name="log4japp"
value="DBUtilities.SQL.UnitTestsCE.exe"
/&gt;&lt;/log4j:properties&gt;&lt;log4j:locationInfo class="AFCLogging.Logging"
method="Logging" file="Logging.cs" line="82" /&gt;&lt;/log4j:event&gt;
.....

 

 

</description>
    <dc:creator>José (bluemail</dc:creator>
    <dc:date>2008-06-27T22:03:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.log.log4net.user/3620">
    <title>RE: Specifying log level at runtime</title>
    <link>http://permalink.gmane.org/gmane.comp.log.log4net.user/3620</link>
    <description>for the fourth argument?

 

I'm not positive, but I believe so.

 

</description>
    <dc:creator>Walden H. Leverich</dc:creator>
    <dc:date>2008-06-27T21:51:02</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.log.log4net.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.log.log4net.user</link>
  </textinput>
</rdf:RDF>
