Feedback for log4net.Contrib.AspNetPatternConverters

2005-05-19 Thread Ron Grabowski
Hello. In response to Nicko's reply to my first post on the log4net list: http://tinyurl.com/a24cc http://www.mail-archive.com/log4net-user%40logging.apache.org/msg00886.html I've written a collection of PatternConverter classes to make log4net play nicely with Asp.Net. They allow for properties

Re: ADONetAppender does not make use of connection pooling

2005-06-02 Thread Ron Grabowski
If the connectionString property accepts a PatterString (do all properties on all the built-in appenders accept PatternString?), you could extend PatternConverter and expose all the values in AppSettings: public class AppSettingsPatternConverter : PatternConverter { override protected void

http://logging.apache.org/log4net/roadmap.html

2005-06-16 Thread Ron Grabowski
I noticed this file has been coming soon for several months. I recall seeing a road map when 1.2.0 beta 8 was on the website. Any word future features or things that still need to be done?

Re: NamespaceFilter.cs

2005-06-17 Thread Ron Grabowski
I think the filter would be more useful if it dealt with the LocationInfo object instead of just the ClassName: filter type=LocationInfoStringMatchFilter stringToMatch locationInfoProperty=ClassName value=Foo / /filter filter type=LocationInfoStringMatchFilter stringToMatch

Re: Adding event log category support to EventLogAdaptor

2005-06-20 Thread Ron Grabowski
Have you seen this: http://tinyurl.com/dedeu http://cvs.apache.org/viewcvs.cgi/logging-log4net/extensions/net/1.0/log4net.Ext.EventID/cs/src/ You could use that or extend ILog and make your own interface. --- Gargus, Javan (GE Infrastructure) [EMAIL PROTECTED] wrote: Hi all, Currently, the

RE: http://logging.apache.org/log4net/roadmap.html

2005-06-27 Thread Ron Grabowski
to the log4net core to implement. We may also need to coordinate our implementation with other log4x projects. Thoughts? Nicko -Original Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: 16 June 2005 18:02 To: log4net-dev@logging.apache.org Subject: http

RE: http://logging.apache.org/log4net/roadmap.html

2005-06-27 Thread Ron Grabowski
: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 5:54 AM To: Log4NET Dev Subject: RE: http://logging.apache.org/log4net/roadmap.html According to the issue tracker: http://issues.apache.org/jira/browse/LOG4NET there are about 24 open issues. You could take a look

Re: Specifying external log4net configuration file

2005-09-09 Thread Ron Grabowski
I think more people could help you if you post questions like this to the log4net-user list. --- Piyush Arya [EMAIL PROTECTED] wrote: Issue: My log4net configuration needs to be specified in a config other than my app.config. This, however is not happening.

Renderers

2005-09-11 Thread Ron Grabowski
LoggingEvent.cs contains this code: public string RenderedMessage { get { if (m_data.Message == null) { if (m_message == null) { m_data.Message = ; } else if (m_message is string) { m_data.Message = (m_message as string); } else if (m_repository != null) }

RE: Renderers

2005-09-11 Thread Ron Grabowski
by the user. However the performance gain of doing the early test benefits about 99.999% of users. If you want to use a renderer then you need to pass in a custom object to the ILog.Debug() methods rather than a string. Nicko -Original Message- From: Ron Grabowski [mailto

RE: Feedback for log4net.Contrib.AspNetPatternConverters

2005-09-11 Thread Ron Grabowski
I don't know why I didn't think of this sooner...if you have groups of related converters that you'd like to register the amount of additional xml nodes makes for some ugly xml: layout type=log4net.Layout.PatternLayout converter name value=aspnet-response / type

Re: Anyone want to handle posting a log4j - log4net wrapper on sourceforge?

2005-10-03 Thread Ron Grabowski
As you've probably come to realize, the Logging Services Project isn't always the fastest moving group :-) Here's my thoughts on the matter... Is it possible to create some sort of commons-logging plugin that uses J#/log4net internally? I got bad vibes from seeing the log4j constants redifined in

%date pattern and timezones

2005-10-05 Thread Ron Grabowski
I live in the EST timezone (Eastern Standard Time, UTC - 4 hours). I'm developing an application that is hosted by a 3rd party hosting company in the MST timezone (Mountain Standard Time, UTC - 6 hours). I want the timestamps in the log file to be in my timezone. I'm not a timezone expert but

Extending support for ${foo} notation

2005-10-05 Thread Ron Grabowski
The ${foo} notation searches the environment for a key and uses its value. I wonder if it would be useful to introduce the idea of a local environment that would allow locally scoped temporary environment variables: log4net localEnvironment name=LOG4NET_PATH value=c:\logs\staging /

Weird idea for passing multiple Option values into PatternConverters

2005-10-05 Thread Ron Grabowski
Classes that extend PatternConverter expose the value passed into the pattern: %foo{valuePassedIntoThePattern} as a property called Option. If someone wants to pass in more than one value they are responsible for parsing the string using their own delimiters:

Config.AppSettingsConfigurator

2005-10-06 Thread Ron Grabowski
I've heard people complain that log4net is too difficult to setup... Perhaps we could add a new configurator that would setup a very basic log4net environment that uses a single FileAppender and just the root logger. The values would be settable via add nodes: appSettings add

RE: Config.AppSettingsConfigurator

2005-10-07 Thread Ron Grabowski
true/false would be a good start but people would ask what failed: // ??? if (log4net.Config.XmlConfigurator.Configure() == false) { processLog4netConfigError(log4net.Config.ConfigException); } What's the right thing to do with a log4net config error? Write the message to

Re: Writing newlines and whitespace to logs?

2005-10-21 Thread Ron Grabowski
Have you tried %n and/or %newline ? --- Secules, Christopher T [AMSRD-AAR-AEF-A] [EMAIL PROTECTED] wrote: I know you can identify newlines in the header and footer of the config file by specifying \r\n. I'm trying to figure out how to specify newlines in the actual log statements. I can

RE: Writing newlines and whitespace to logs?

2005-10-21 Thread Ron Grabowski
: log.Debug(%newline%newlineGun Level: Value %newline%newline) Result: 2005-10-21 13:15:54,482 [DEBUG] COMPONENT v2.1 - %newline%newlineGun Level: 32000%newline%newline -Original Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 1:03 PM

RE: Writing newlines and whitespace to logs?

2005-10-21 Thread Ron Grabowski
I understand what you want to do now. I didn't look at this line closley enough: log.Debug(%newline%newlineGun Level: Value %newline%newline) That's not how log4net works. Patterns are evaulated once at start up and cannot be dynmically inserted into a message. What do you expect to happen

Re: [jira] Created: (LOG4NET-53) Allow repository properties to be set in the config file

2005-10-30 Thread Ron Grabowski
At first glance I thought this was a typo. I wish there was a more AppSettings-ish way to express these properties. The value value= / node looks weird. I understand why it is the way it is. --- Nicko Cadell (JIRA) [EMAIL PROTECTED] wrote: property key value=PropertyName / value

RE: constant for (null)

2005-11-03 Thread Ron Grabowski
use an appSetting, say log4net.NullText. Nicko -Original Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: 03 November 2005 06:08 To: log4net-dev@logging.apache.org Subject: constant for (null) Nicko, I think it would helpful to have a constant for when

RE: [jira] Created: (LOG4NET-54) Ensure all AppSettings settings are settable on XmlHierarchyConfigurator's log4net node

2005-11-04 Thread Ron Grabowski
calling XmlConfigurator.Configure, but actually creating the Appenders and Loggers programmatically). I will outline these ideas soon, I'm not sure how much pain this would cause our users. Cheers, Nicko -Original Message- From: Ron Grabowski (JIRA) [mailto:[EMAIL PROTECTED

RE: svn commit: r331170 - in /logging/log4net: ./ trunk/

2005-11-07 Thread Ron Grabowski
the LOG4NET-XX are all hyperlinked to the appropriate bugs. Nicko -Original Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: 07 November 2005 03:33 To: Log4NET Dev Subject: Re: svn commit: r331170 - in /logging/log4net: ./ trunk/ Neat! Did you use the -R (set

Re: svn commit: r331170 - in /logging/log4net: ./ trunk/

2005-11-09 Thread Ron Grabowski
enough in the tree to get the trunk. -- Cory J Trese Development: http://polydevmono.blogspot.com/ Personal:http://digital2noise.blogspot.com/ On 11/6/05, Ron Grabowski [EMAIL PROTECTED] wrote: Neat! Did you use the -R (set recursively

Re: svn commit: r356816 - /logging/log4net/trunk/tests/src/Layout/XmlLayoutTest.cs

2005-12-14 Thread Ron Grabowski
(I can take care of the bounce myself) When I was writing this the 2005-08-24T12:00:00.000+01:00 format didn't jump out to me as coming from XmlConvert.ToString. I kept looking for a {0:s} related format. Maybe its a good idea to add a static XmlLayout.ToString to allow outsiders (test

Re: PatternLayoutTest sometimes passes, sometimes fails

2005-12-14 Thread Ron Grabowski
Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: 14 December 2005 19:46 To: log4net-dev@logging.apache.org Subject: PatternLayoutTest sometimes passes, sometimes fails Is there any particular reason why we're still using the depreciated Assertion class in the unit tests? No good

Re: PatternLayoutTest sometimes passes, sometimes fails

2005-12-15 Thread Ron Grabowski
on the nunit.framework.dll (still using 2.1.4.0) I will try upgrading to the latest version 2.2.3.0 and testing again. Do you want to go through the tests and update them to use the non deprecated APIs, or do you want me to do that? Nicko -Original Message- From: Ron Grabowski [mailto:[EMAIL

Re: log4net Contexts and ASP.NET

2006-02-15 Thread Ron Grabowski
I don't think HttpContext is always available...especially inside the Global.asax.cs methods and/or inside CacheItemRemovedCallback methods. According to this article: http://www.odetocode.com/Articles/112.aspx HttpContext is just a wrapper around System.Runtime.Remoting.Messaging.CallContext.

Re: log4net Contexts and ASP.NET

2006-02-19 Thread Ron Grabowski
If there's a global isWeb setting, you wouldn't be able to easily tell certain loggers (i.e. a certain namespaces) to use CallContext. What about setting the LogicalThreadContext's storage at the logger level? root level value=ALL / appender-ref ref=FileAppender /

/log4net/xdocs/build.xml - build failed

2006-02-25 Thread Ron Grabowski
Is NAnt 0.85rc3 the recommended NAnt version to build things? build.cmd compiled everything ok but this failed: C:\Projects\log4net\xdocsnant /f:build.xml NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile:

Re: Log4net throws exception

2006-03-15 Thread Ron Grabowski
Log4net doesn't have its own run-time parsing engine for the *Format methods; it just calls through to String.Format. If the format string and parameters you're generating aren't compatible with String.Format then you'll get unexpected results. For example, this will not include Morten in the

Re: Log4net throws exception

2006-03-16 Thread Ron Grabowski
--- Cliff Burger [EMAIL PROTECTED] wrote: By fail-stop, we mean that log4net will not throw unexpected exceptions at run-time potentially causing your application to crash. The documentation for String.Format says that if the format is invalid or the number indicating an argument to format is

Re: [VOTE] Abandon 1.2.10 and resolve LOG4NET-69 (was: [VOTE RESULT] (was: [VOTE] publish log4net 1.2.10))

2006-03-17 Thread Ron Grabowski
+1 --- Niall Daley [EMAIL PROTECTED] wrote: +1 -- Niall Daley Log4net Dev

Are log4net.Error messages guaranteed to contain valid XML?

2006-04-02 Thread Ron Grabowski
I noticed this snippet of code: log.DebugFormat(Hello {0}{1, World); is correctly caught as containing an invalid format string. This is part of the error message: log4net.ErrorException during StringFormat: Input string was not in a correct format. formatHello

RE: Are log4net.Error messages guaranteed to contain valid XML?

2006-04-03 Thread Ron Grabowski
}{1 args: World But to do this in a valid way we would probably need to encode newlines. Users may be less confused by this non XML looking form. What do you think? Nicko -Original Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: 03 April 2006 01:31

Re: Rolling File Logs contain junk for non-English OSes

2006-04-18 Thread Ron Grabowski
Is it just the FileAppender? What happens when you use a ConsoleAppender? Have you tried setting the encoding property on the FileAppender: http://tinyurl.com/k8npm http://logging.apache.org/log4net/release/sdk/log4net.Appender.FileAppender.Encoding.html appender name=FileAppender

Re: Questions about ADONetAppender (Resent with correct subject)

2006-06-21 Thread Ron Grabowski
Minor changes like this may help: if (connectionTypeIsCloneable) { return (IDbConnection) ((ICloneable)connectionType).Clone(); } else { return (IDbConnection) Activator.CreateInstance(connectionType); } but its difficult to know without profiling the code. Can you assemble a few

Re: Problems with separate logfiles at multiple layers of DLLs

2006-06-21 Thread Ron Grabowski
I'm having a hard time following what's going on. Having you tried turning on log4net's internal debugging to verify that the repository is getting created correctly (i.e. log4net is isn't shutting down once one of the other components is initializes)? --- Secules, Christopher T [AMSRD-AAR-AEF-A]

RE: Strong name private key policy

2006-06-22 Thread Ron Grabowski
The .snk file has been part the iBATIS for .NET distribution for a long time. I don't think anyone commented when it was checked in. iBATIS usually defers all of its Apache matters to Ted Husted :) I've included him on this reply. Ted, this is the start of the thread: http://tinyurl.com/kj2rd

Re: Strong name private key policy - can we get 1.2.10 built with 1.2.9 key?

2006-06-29 Thread Ron Grabowski
Its my understanding that the .snk file for log4net 1.2.9 has been misplaced and that's its not possible to get a build of 1.2.10 with the 1.2.9 key. --- Cliff Burger [EMAIL PROTECTED] wrote: To solve my practical problem -- which I'm sure many other people have: Can someone make available

RE: AppenderSkeleton.DoAppender calls lock(this) while some IAppender examples do not

2006-07-16 Thread Ron Grabowski
. Cheers, Nicko -Original Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: 16 July 2006 19:40 To: log4net-dev@logging.apache.org Subject: AppenderSkeleton.DoAppender calls lock(this) while some IAppender examples do not Nicko, AppenderSkeleton's

Re: Fwd: ApacheCON US 2006

2006-09-15 Thread Ron Grabowski
I'll be there! - Original Message From: Curt Arnold [EMAIL PROTECTED] To: Log4NET Dev log4net-dev@logging.apache.org Sent: Thursday, September 14, 2006 2:49:05 PM Subject: Fwd: ApacheCON US 2006 Sorry to leave you out of my once yearly cross-post. Begin forwarded message: From: Curt

Re: Escaping the incubator

2006-09-19 Thread Ron Grabowski
It was my understanding that there was a requirement that there be at least 4 committers on an incubating project before it could graduate from the incubator. I was the 4th committer. I think most people would agree that log4net has been considered quite stable for a number of years. -

PatternConverter.WriteDictionary IDictionaryEnumerator overload

2006-10-10 Thread Ron Grabowski
I was looking through some old files on my system (from 12/2005) and came across a modified PatternConverter.cs on my local system were I had overloaded the WriteDictionary method to accept an IDictionaryEnumerator. The IDictionary overload forwarded to the IDictionaryEnumerator version:

Re: logging exception messages

2006-12-04 Thread Ron Grabowski
For the console requirement a good starting point would be to use the appender's threshold property to make it record warning level or higher messages: appender name=ConsoleAppender type=log4net.Appender.ConsoleAppender threshold value=WARN/ !-- other properties -- /appender One way to

Re: [jira] Commented: (LOG4NET-108) [PATCH] add support for multiple evaluators in BufferingAppenderSkeletan

2006-12-21 Thread Ron Grabowski
with the implementation of filters. What is the best solution? -Original Message- From: Ron Grabowski (JIRA) [mailto:[EMAIL PROTECTED] Sent: Wed 12/20/2006 11:15 PM To: log4net-dev@logging.apache.org Subject: [jira] Commented: (LOG4NET-108) [PATCH] add support for multiple evaluators

Re: XmlHierarchyConfigurator [from log4net-users]

2006-12-26 Thread Ron Grabowski
(); timer.Interval = Interval; timer.Elapsed += new ElapsedEventHandler(timer_Elapsed); timer.Start(); } } - Original Message From: Ron Grabowski [EMAIL PROTECTED] To: log4net-dev@logging.apache.org Sent: Saturday, December 23, 2006 1:54:21 PM Subject: Re

Re: Retrieving MessageObject property values for logging...

2007-02-01 Thread Ron Grabowski
Have you looked at MessageObjectExpanderAppender? http://tinyurl.com/3dnnf3 http://svn.apache.org/viewvc/logging/log4net/trunk/examples/net/1.0/Appenders/SampleAppendersApp/cs/src/Appender/MessageObjectExpanderAppender.cs?view=markup Its a forwarding appender that extracts all the public

Re: Incubator Exit Criteria checklist

2007-02-11 Thread Ron Grabowski
I sent the necessary information to Curt about my key. I saw him in person at the last ApacheCon so he verified I'm who I say I am :-) What information about my key do other people need? Is this good enough: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x74295265 - Original Message

Re: Configuring from code

2007-02-27 Thread Ron Grabowski
Open up just one log file and inspect it or one log message and inspect that? Could you write an Appender that keeps the last N messages in memory then inspect those messages during testing? - Original Message From: Ayende Rahien [EMAIL PROTECTED] To: log4net-dev@logging.apache.org

Re: asynchronous http logging

2007-04-20 Thread Ron Grabowski
I recall seeing some numbers from a long time ago showing that the async code in NLog is faster than the AsyncAppender. You may want to investigate that. I think there are test cases showing the speed of the log4net AsyncAppender vs. the NLog appender in the NLog distribution. I haven't run

Re: Question about rollingfileappender

2007-04-20 Thread Ron Grabowski
Have you looked at XmlLayoutSchemaLog4j? That defines a custom XML layout. Perhaps you could use a similiar strategy for creating an RSS-friendly XML layout. - Original Message From: raj1 [EMAIL PROTECTED] To: log4net-dev@logging.apache.org Sent: Tuesday, April 10, 2007 1:21:09 PM

Re: Configuration problems

2007-04-24 Thread Ron Grabowski
On my machine the environment variable HOMEPATH seems to always point to my home directory. Perhaps you could use that to create the path: Dim location As String = ${HOMEPATH}\APPLICATION\Log\log.txt log4net will replace ${HOMEPATH} with the appropriate environment variable. You can also

Re: [g...@vmgump]: Project logging-log4net (in module logging-log4net) failed

2008-01-01 Thread Ron Grabowski
Only the mono compiler caught that warning. The nant builds for .NET 1.0 and 2.0 didn't report any warnings. There's no particular reason why I marked it as virtual other than the other implemented members of the class are virtual. I understand your point about the virtual Format method

Re: Cryptography and Export considerations for log4net, quarterly board report

2008-02-12 Thread Ron Grabowski
Those look like the only crypto usages. I started hacking away at some long standing JIRA issues at the end of December. The mailing lists seem to be slightly more active the past couple months. - Original Message From: Curt Arnold [EMAIL PROTECTED] To: Log4NET Dev

Re: WMI-Appender question

2008-02-19 Thread Ron Grabowski
How do you fire using normal WMI code when the application is run in non-admin mode? - Original Message From: Andreas Brauchli [EMAIL PROTECTED] To: log4net-dev@logging.apache.org Sent: Tuesday, February 19, 2008 3:21:51 AM Subject: WMI-Appender question I am experimenting with the WMI

Re: WMI-Appender question

2008-02-19 Thread Ron Grabowski
I think you have to use the supplied WmiInstaller class: http://msdn.microsoft.com/msdnmag/issues/05/09/WMI/ - Original Message From: Ron Grabowski [EMAIL PROTECTED] To: Log4NET Dev log4net-dev@logging.apache.org Sent: Tuesday, February 19, 2008 8:17:14 PM Subject: Re: WMI-Appender

Re: Logging into multiple log files

2008-02-26 Thread Ron Grabowski
Set the level of the root logger to DEBUG then use LevelFilters to control the level of messages that go into each of the FileAppenders. - Original Message From: Raghunandan S [EMAIL PROTECTED] To: log4net-dev@logging.apache.org Sent: Thursday, February 21, 2008 5:30:16 AM Subject:

Re: AW: WMI-Appender question

2008-02-27 Thread Ron Grabowski
, but these will only come in when the log4net-app. Is run with administrative priviledges. Thanks, andreas -Ursprüngliche Nachricht- Von: Ron Grabowski [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 20. Februar 2008 02:17 An: Log4NET Dev Betreff: Re: WMI-Appender question How do you fire using normal

Re: Preventing recognize log4net as spam

2008-03-19 Thread Ron Grabowski
Configure your mail server such that log4net emails are not recognized as spam. - Original Message From: aus1977 [EMAIL PROTECTED] To: log4net-dev@logging.apache.org Sent: Wednesday, March 19, 2008 7:43:47 AM Subject: Preventing recognize log4net as spam Hello everybody i have client

Re: AdoAppender WIth Oracle

2008-03-19 Thread Ron Grabowski
What do log4net's internal debug logs say? http://logging.apache.org/log4net/release/faq.html - Original Message From: rockom [EMAIL PROTECTED] To: log4net-dev@logging.apache.org Sent: Wednesday, March 19, 2008 9:44:31 AM Subject: AdoAppender WIth Oracle Hi, i am trying to use this

Re: Preventing recognize log4net as spam

2008-03-20 Thread Ron Grabowski
elegant way to prevent it. thanks alot Ron Grabowski wrote: Configure your mail server such that log4net emails are not recognized as spam. - Original Message From: aus1977 [EMAIL PROTECTED] To: log4net-dev@logging.apache.org Sent: Wednesday, March 19, 2008 7:43:47 AM Subject

Re: Log4Net failed in .net 3.5 Framework

2008-06-22 Thread Ron Grabowski
Is anyone facing this issue as well ? How come I was able to run smoothly without any errors in VS2003 but not with VS2008 ? Chee Hong Ron Grabowski wrote: If the exception message mentioned your app.config being malform perhaps you should use a well formed app.config. This is incorrect

Re: How to find where log4net is logging to at runtime

2008-09-18 Thread Ron Grabowski
Log4net doesn't track that information. Can you store that information on your own in a static variable? - Original Message From: lilalfyalien [EMAIL PROTECTED] To: log4net-dev@logging.apache.org Sent: Thursday, September 18, 2008 6:47:54 AM Subject: How to find where log4net is

Re: RollingFileAppender generates unexpected filename and/or causes IIS to hang

2008-09-24 Thread Ron Grabowski
Thank you for looking into this. I'll review your comments. The best thing to do would be to create and upload a patch on Jira: https://issues.apache.org/jira/browse/LOG4NET - Original Message From: Iyer, Devan [EMAIL PROTECTED] To: [EMAIL PROTECTED]; log4net-dev@logging.apache.org

Re: Appender to run at a Schedule Time

2008-10-02 Thread Ron Grabowski
Use a Timer? // untested public class AutoFlushSmtpAppender : SmtpAppender { private System.Timers.Timer timer; private int interval; /// summary /// Flush interval in milliseconds. /// /summary public int Interval { get { return interval; } set {

Re: log4net support for .NET framework 3.5

2008-10-25 Thread Ron Grabowski
3.5 can run assemblies all the way back to 1.0. The most recent release run fine under .NET 3.5. - Original Message From: dipankaronline [EMAIL PROTECTED] To: log4net-dev@logging.apache.org Sent: Saturday, October 25, 2008 9:46:39 AM Subject: log4net support for .NET framework 3.5 I

Re: configSections getting compiler message.

2008-11-16 Thread Ron Grabowski
You're using a RollingFileAppender but you're telling the root logger to use a ConsoleAppender. Change the code to this: appender-ref ref=RollingFileAppender / From: Henry Padilla [EMAIL PROTECTED] To: log4net-dev@logging.apache.org Sent: Friday, November 14,

Re: conversionPattern parameters

2008-11-16 Thread Ron Grabowski
http://logging.apache.org/log4net/release/sdk/log4net.Layout.PatternLayout.html From: Henry Padilla [EMAIL PROTECTED] To: log4net-dev@logging.apache.org Sent: Friday, November 14, 2008 1:07:20 PM Subject: conversionPattern parameters Where can I find a list

Re: Create new log file each time application is started

2008-11-28 Thread Ron Grabowski
You'd have to do something like include the process id (or other unique identifier) in the file name for each instance. - Original Message From: Rob1234 [EMAIL PROTECTED] To: log4net-dev@logging.apache.org Sent: Friday, November 28, 2008 8:54:40 AM Subject: Create new log file each

Re: Logging to a Listbox control

2008-12-15 Thread Ron Grabowski
You might be able to take some code from this example: http://mail-archives.apache.org/mod_mbox/logging-log4net-user/200804.mbox/%3c658979.41804...@web80002.mail.sp1.yahoo.com%3e - Original Message From: herman404 herman@wachovia.com To: log4net-dev@logging.apache.org Sent:

Re: [jira] Commented: (LOG4NET-195) Log4Net Performance comparison with other logging utility

2009-02-04 Thread Ron Grabowski
; } public DateTime Now { get { return cachedDateTime; } } } } NLog uses this clever trick to optmize calls to DateTime.Now. I'm pretty sure log4net uses a similiar trick with the %date formatter. - Original Message From: Ron Grabowski (JIRA) j

Re: Appender Close() not being called when application ends

2009-02-10 Thread Ron Grabowski
The static constructor on LogManager calls ShutDown in the AppDomain's ProcessExit and DomainUnload: // ProcessExit seems to be fired if we are part of the default domain AppDomain.CurrentDomain.ProcessExit += new EventHandler(OnProcessExit); // Otherwise DomainUnload is fired

Re: Commit access requested for an asynchronous logging addition

2009-02-17 Thread Ron Grabowski
The best place to put your code would be on a new JIRA ticket and make sure to grant the ok to include into a ASF project. I've been thinking about a feature like this but I wanted to get the remaining tickets for the next version closed out (before 4.0 comes out!!!). My original plan was to

Re: log4net event logging appender

2009-02-18 Thread Ron Grabowski
When you run your program as a normal user can you write to the EventLog without using log4net? - Original Message From: rodchar rodc...@hotmail.com To: log4net-dev@logging.apache.org Sent: Wednesday, February 18, 2009 4:45:22 PM Subject: log4net event logging appender

Re: log definition is in my pagebase

2009-02-21 Thread Ron Grabowski
The simplest solution is to use a logger per class instead of one shared logger. - Original Message From: rodchar rodc...@hotmail.com To: log4net-dev@logging.apache.org Sent: Friday, February 20, 2009 10:54:25 AM Subject: log definition is in my pagebase Hi all, i have a pagebase

Re: turn up/down message details

2009-02-23 Thread Ron Grabowski
Log4net doesn't have anything built-in to support that. One strategy might be to keep the logger / at DEBUG and set the appender /'s threshold to WARN. If the number of warnings overflows some allowable level, you could change that appender /'s threshold to INFO for a certain amount of time

Re: all the example files are missing from the log4net website

2009-03-31 Thread Ron Grabowski
The following examples are only available in the log4net release download, not on-line. To obtain the examples download one of the log4net releases. - Original Message From: Johan Compen joh...@gmail.com To: log4net-dev@logging.apache.org Sent: Tuesday, March 31, 2009 9:38:03 AM

Re: [GUMP@vmgump]: Project logging-log4net (in module logging-log4net) failed

2009-05-24 Thread Ron Grabowski
This should be fixed. I forgot to commit the StackTracePatternConverter.cs file. - Original Message From: carn...@apache.org carn...@apache.org To: log4net-dev@logging.apache.org Sent: Sunday, May 24, 2009 7:49:41 PM Subject: [g...@vmgump]: Project logging-log4net (in module

Re: [GUMP@vmgump]: Project logging-log4net (in module logging-log4net) failed

2009-05-31 Thread Ron Grabowski
I replaced the string.IsNullOrEmpty call with Length != 0 in StackTracePatternConverter.cs - Original Message From: carn...@apache.org carn...@apache.org To: log4net-dev@logging.apache.org Sent: Sunday, May 31, 2009 3:55:29 AM Subject: [g...@vmgump]: Project logging-log4net (in module

Re: Debugging log4net source

2009-08-25 Thread Ron Grabowski
, Omer Mor (omer@gmail.com) On Fri, Aug 7, 2009 at 12:44 PM, Omer Mor omer@gmail.com wrote: I prefer debugging the situation live. Is it so hard to re-compile 1.2.10 with pdb? It's just a matter of a slight tweak in the project settings. On Fri, Aug 7, 2009 at 6:12 AM, Ron Grabowski

Re: how to contribute?

2009-12-07 Thread Ron Grabowski
Hi Eike, I received your email. The best thing to do is comment, vote, or write patches for these items for the 1.2.11 release: https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truemode=hidesorter/order=DESCsorter/field=priorityresolution=-1pid=10690fixfor=12310980 If you think

Re: Getting a signed version of the latest build of log4net

2009-12-14 Thread Ron Grabowski
You should be able to build both from their respective trunks then reference your build where appropriate? From: Preet Sangha preet.san...@aderant.com To: log4net-dev@logging.apache.org log4net-dev@logging.apache.org Sent: Sun, December 13, 2009 5:28:09 PM

Re: AW: [jira] Created: (LOG4NET-257) Visual Studio 2010 .NET 4.0 Application does not copy log4net lib to bin directory

2010-05-02 Thread Ron Grabowski
I just read that nant has a new release candidate out that supports .NET 4.0. Someone may want to try running that against the code base as that's how the final releases are built. - Original Message From: Dominik Psenner dpsen...@gmail.com To: Log4NET Dev

Re: abandoned?

2010-05-02 Thread Ron Grabowski
years ago... before any major refactor is done to require .net 2.0 can a new release be made, there is a lot of stuff in trunk that would heal some pain. cheers. On Mon, May 3, 2010 at 1:57 PM, Ron Grabowski rongrabow...@yahoo.com wrote: Its not dead. I read the mailing list every day

Re: [jira] Created: (LOG4NET-285) Issue with rolling based on a date

2011-02-28 Thread Ron Grabowski
10 programs writing to the same file? That's a lot. RollingFileAppender isn't process-safe. From: kinnar (JIRA) j...@apache.org To: log4net-dev@logging.apache.org Sent: Friday, February 18, 2011 9:45 AM Subject: [jira] Created: (LOG4NET-285) Issue with rolling

Re: Log4net Asynchronous Logging

2011-04-18 Thread Ron Grabowski
https://github.com/lorenzomelato/rhino-commons/blob/master/Rhino.Commons/Logging/AsyncBulkInsertAppender.cs - Original Message - From: anjansingh mailan...@hotmail.com To: log4net-dev@logging.apache.org Cc: Sent: Monday, April 11, 2011 5:09 AM Subject: RE: Log4net Asynchronous Logging

Re: System.FormatException: Index (zero based) must be greater than or equal to zero

2011-06-04 Thread Ron Grabowski
Ummm, what does TabbedOutput look like? From: mc_line mc_line_...@yahoo.com.mx To: log4net-dev@logging.apache.org Sent: Monday, May 30, 2011 1:18 PM Subject: System.FormatException: Index (zero based) must be greater than or equal to zero Hi I keep getting

Re: Is log4net in a cul-de-sac ?

2011-07-24 Thread Ron Grabowski
I still use log4net every day across several large projects and check the mailing lists several times a week. All my stuff is still on 3.5 still so I haven't been hit by any of the 4.0 issues. I don't know how much a new release targeting just 1.1, 2.0, and 3.5 would benefit people right

Re: State of Client Profile and .NET 4.0 Support

2011-08-24 Thread Ron Grabowski
Is your .NET 4 support just in the NAnt scripts? It's probably safe to replace the VS2008 solution file with a VS2010 version. From: Stefan Bodewig bode...@apache.org To: log4net-dev@logging.apache.org Sent: Saturday, August 20, 2011 6:14 AM Subject: State of

Re: Distribution Formats

2011-09-08 Thread Ron Grabowski
New key? I think I Nicko sent me the current assembly keya long time ago. People always complain when keys change From: Stefan Bodewig bode...@apache.org To: log4net-dev@logging.apache.org Sent: Thursday, September 8, 2011 12:26 AM Subject: Distribution Formats

Re: diffs between 1.2.10 and current trunk

2011-09-13 Thread Ron Grabowski
The signature changes from void to ICollection shouldn't break anything. Now the configurators return a list of configuration messages. I suppose it should return an array of a certain type instead of just ICollection. Maybe something like ConfigurationMessage[] or  LogLog[]. I lean more

Re: Name for MutexLock?

2011-09-13 Thread Ron Grabowski
I don't have any hard numbers but the last time I played around with MinimalLock it was very very slow. I view InterProcessLock as an intermediary between exclusive and minimal locking. From: Dominik Psenner dpsen...@gmail.com To: 'Log4NET Dev'

Re: Name for MutexLock?

2011-09-13 Thread Ron Grabowski
Can you share a config snippet showing how to use the RemotingAppender like you've described? What happens when one of the apps goes down? I envision the InterProcessLock as a locking model used between two low/medium chatty apps that want to write to the same file that may or may not be

Re: Dropping Support for .NET CF 1.0 and SSCLI 1.0 in log4net 1.2.11

2011-09-20 Thread Ron Grabowski
+1 From: Stefan Bodewig bode...@apache.org To: log4net-dev@logging.apache.org; log4net-u...@logging.apache.org Sent: Tuesday, September 20, 2011 12:41 PM Subject: Dropping Support for .NET CF 1.0 and SSCLI 1.0 in log4net 1.2.11 Hi all, sorry for the cross-post

Re: [jira] [Resolved] (LOG4NET-87) Support ASP.Net related PatternConverters to allow items from the HttpContext.Current.Session, Cache, Request, etc. to be captured.

2011-09-20 Thread Ron Grabowski
            Project: Log4net           Issue Type: Wish           Components: Core     Affects Versions: 1.2.10             Reporter: Ron Grabowski             Assignee: Ron Grabowski             Priority: Minor             Fix For: 1.2.11 It would be nice if there were built-in Pattern Converters to support

SDK docs on apache.org don't display properly

2012-01-13 Thread Ron Grabowski
Anyone know why there are extended chars in most of the log4net ndoc files? For example this page has empty-blocks in IE9 and triangle-question-marks in Firefox: http://logging.apache.org/log4net/release/sdk/log4net.Appender.BufferingAppenderSkeleton.Evaluator.html

Who owns the log4net nuget package?

2012-01-14 Thread Ron Grabowski
Does anyone know who owns the log4net nuget package? http://nuget.org/packages/log4net http://blog.cincura.net/232619-log4net-back-alive-on-nuget/ We're the 6th most populate package on nuget! Can someone explain what it would take to get the nuget package files into our svn repository?

Re: Proposed bug fix for AspNetRequestPatternConverter.Convert()

2012-04-10 Thread Ron Grabowski
The converter is trying to protect itself...the base class checks to make sure HttpContext.Current is not null then a check against Request is made: // AspNetRequestPatternConverter protected override void Convert(TextWriter writer, LoggingEvent loggingEvent, HttpContext httpContext) {     if

  1   2   3   4   >