RE: AdoNetAppender on Azure SQL: Works then quits working

2014-09-18 Thread Joe
It's in the FAQ: http://logging.apache.org/log4net/release/faq.html -Original Message- From: Steve Hueners [mailto:am.st...@gmail.com] Sent: 18 September 2014 12:12 To: Log4NET User Subject: Re: AdoNetAppender on Azure SQL: Works then quits working On Wed, A

Re: AdoNetAppender on Azure SQL: Works then quits working

2014-09-18 Thread Steve Hueners
On Wed, Aug 20, 2014 at 11:01 AM, Joe wrote: > and route this trace output to a file. Thanks much for your reply. I'm not clear about how to route the internal debug output to a trace file. An Azure website provides access to the file system via the project's App_Data so if I knew the precise st

RE: AdoNetAppender on Azure SQL: Works then quits working

2014-08-20 Thread Joe
com] Sent: mardi 19 août 2014 16:34 To: log4net-user@logging.apache.org Subject: Re: AdoNetAppender on Azure SQL: Works then quits working It happened again last night - I had a line logged at 2014-08-19 00:59:59.537 (gmt) then nothing until I restarted the website. On Mon, Aug 18, 2014 at 3:07

Re: AdoNetAppender on Azure SQL: Works then quits working

2014-08-19 Thread Steve Hueners
It happened again last night - I had a line logged at 2014-08-19 00:59:59.537 (gmt) then nothing until I restarted the website. On Mon, Aug 18, 2014 at 3:07 PM, Steve Hueners wrote: > Last week I stepped thru the hoops required to configure a connection > string for my Azure SQL db and confirmed

Re: AdoNetAppender not working PostgreSQL database using Npgsql

2014-05-30 Thread Dominik Psenner
Glad you were able to sort it out on your own and be sure that it would have taken ages to find this. :-) Cheers 2014-05-30 21:32 GMT+02:00 Rob Richardson : > Sorry to bother you. The problem turns out to be what seems to me an > unbelievable bug (feature?) in the PostgreSQL administration to

RE: AdoNetAppender not working PostgreSQL database using Npgsql

2014-05-30 Thread Rob Richardson
Sorry to bother you. The problem turns out to be what seems to me an unbelievable bug (feature?) in the PostgreSQL administration tool PGAdmin shipped with version 9.3: if you use that tool to create a table, the name of the table includes double quotes. I decided, just for grins, to try the

RE: ADONetAppender not logging

2010-07-30 Thread Rob Prouse
...@gmail.com] Sent: Thursday, July 29, 2010 9:13 PM To: Log4NET User Subject: Re: ADONetAppender not logging Hi Rob, I notice that and I've included it in my configuration files. I'm able to trap the mysql connection error with the internal logging file. Exception: "an established

Re: ADONetAppender not logging

2010-07-29 Thread shally chong
se > > > > *From:* shally chong [mailto:shally.ch...@gmail.com] > *Sent:* Wednesday, July 28, 2010 11:44 PM > > *To:* Log4NET User > *Subject:* Re: ADONetAppender not logging > > > > Hi Rob, > > Yes, this happened after server rebooted. > There is no w

RE: ADONetAppender not logging

2010-07-29 Thread Rob Prouse
Rob Prouse From: shally chong [mailto:shally.ch...@gmail.com] Sent: Wednesday, July 28, 2010 9:29 PM To: Log4NET User Subject: Re: ADONetAppender not logging Hi Rob, Yes, I included the ReconnectOnError clause in my configuration and the log is obtained. Any idea why the connection issu

Re: ADONetAppender not logging

2010-07-28 Thread shally chong
.NET runtime, or to the MySQL > server. > > > > Rob Prouse > > > > *From:* shally chong [mailto:shally.ch...@gmail.com] > *Sent:* Wednesday, July 28, 2010 9:29 PM > *To:* Log4NET User > *Subject:* Re: ADONetAppender not logging > > > > Hi Rob, > &

RE: ADONetAppender not logging

2010-07-28 Thread Rob Prouse
chong [mailto:shally.ch...@gmail.com] Sent: Wednesday, July 28, 2010 9:29 PM To: Log4NET User Subject: Re: ADONetAppender not logging Hi Rob, Yes, I included the ReconnectOnError clause in my configuration and the log is obtained. Any idea why the connection issue happened after the server

Re: ADONetAppender not logging

2010-07-28 Thread shally chong
Hi Rob, Yes, I included the ReconnectOnError clause in my configuration and the log is obtained. Any idea why the connection issue happened after the server reboot? All these while, I did not face such problem. Thanks, Shally On Wed, Jul 28, 2010 at 9:29 PM, Rob Prouse wrote: > Shally, > > >

RE: ADONetAppender not logging

2010-07-28 Thread Rob Prouse
Shally, In your configuration for the AdoNetAppender, do you have ReconnectOnError set to true? It defaults to false and is not in the example configuration. http://logging.apache.org/log4net/release/sdk/log4net.Appender.AdoNetAppender.ReconnectOnError.html If not, add the following line to the

RE: AdoNetAppender field sizes

2010-05-14 Thread Watson, Gary
whole message. Silly mistake, huh? Many thanks for your help. Gary From: Ross Hinkley [mailto:rosshink...@gmail.com] Sent: 11 May 2010 18:40 To: Log4NET User Subject: Re: AdoNetAppender field sizes I tried to recreate your problem on my local machine using your configuration. I agree with Ron

Re: AdoNetAppender field sizes

2010-05-11 Thread Ross Hinkley
Procedure", but it is still truncating. > > -Original Message- > From: Ron Grabowski [mailto:rongrabow...@yahoo.com] > Sent: 11 May 2010 01:57 > To: Log4NET User > Subject: Re: AdoNetAppender field sizes > > The config looks correct to me. Are you sure you want to u

RE: AdoNetAppender field sizes

2010-05-11 Thread Watson, Gary
riginal Message- From: Ron Grabowski [mailto:rongrabow...@yahoo.com] Sent: 11 May 2010 01:57 To: Log4NET User Subject: Re: AdoNetAppender field sizes The config looks correct to me. Are you sure you want to use the .NET 1.0 version of System.Data? Does this make a difference? - O

Re: AdoNetAppender field sizes

2010-05-10 Thread Ron Grabowski
The config looks correct to me. Are you sure you want to use the .NET 1.0 version of System.Data? Does this make a difference? - Original Message From: "Watson, Gary" To: "log4net-user@logging.apache.org" Sent: Mon, May 10, 2010 8:19:48 AM Subject: AdoNetAppender field sizes Hello

Re: AdoNetAppender connection timeouts

2008-11-19 Thread Ron Grabowski
Hadley From:Hadley Willan [mailto:[EMAIL PROTECTED] Sent: Monday, 17 November 2008 14:16 To: Log4NET User Subject: RE: AdoNetAppender connection timeouts Hi all, I’ve done some testing by writing a small test app that loops through, throws an ArgumentException, gets caught and logs the exception to l

RE: AdoNetAppender connection timeouts

2008-11-16 Thread Hadley Willan
Willan [mailto:[EMAIL PROTECTED] Sent: Monday, 17 November 2008 14:16 To: Log4NET User Subject: RE: AdoNetAppender connection timeouts Hi all, I've done some testing by writing a small test app that loops through, throws an ArgumentException, gets caught and logs the exception to log4net.

RE: AdoNetAppender connection timeouts

2008-11-16 Thread Hadley Willan
[49] (6)ms Timing[50] (41554)ms Timing[51] (8)ms Timing[52] (3)ms Timing[53] (3)ms Timing[54] (3)ms Timing[55] (3)ms From: Hadley Willan [mailto:[EMAIL PROTECTED] Sent: Monday, 17 November 2008 09:48 To: Log4NET User Subject: RE: AdoNetAppender connection ti

RE: AdoNetAppender connection timeouts

2008-11-16 Thread Hadley Willan
he timeout? Thanks Hadley From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: Monday, 17 November 2008 00:55 To: Log4NET User Subject: Re: AdoNetAppender connection timeouts The AdoNetAppender keeps a reference to an open connection. At some point it e

RE: AdoNetAppender connection timeouts

2008-11-16 Thread Hadley Willan
Regards Hadley From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: Monday, 17 November 2008 00:55 To: Log4NET User Subject: Re: AdoNetAppender connection timeouts The AdoNetAppender keeps a reference to an open connection. At some point it ensures th

Re: AdoNetAppender connection timeouts

2008-11-16 Thread Ron Grabowski
The AdoNetAppender keeps a reference to an open connection. At some point it ensures the connection is open: // shortened somewhat...the actual code is longer if (m_reconnectOnError && m_dbConnection.State != ConnectionState.Open) { LogLog.Debug("Attempting to reconnect to database..."); Initia

RE: AdoNetAppender Connection String

2008-10-20 Thread Gourlay, Colin
: ... lots of stuff in here ... -Original Message- From: Dag Christensen [mailto:[EMAIL PROTECTED] Sent: 16 October 2008 14:58 To: Log4NET User Subject: RE: AdoNetAppender Connection String Importance: Low Shouldn't be a TextWriterAppender there. Can you post your configuration

RE: AdoNetAppender Connection String

2008-10-16 Thread Dag Christensen
Shouldn't be a TextWriterAppender there. Can you post your configuration file? Not answering your question but as a workaround you could loop through the list of appenders returned and find the first (or named) instance of AdoNetAppender you're looking for. Regards, Dag From: Gourlay, Colin

Re: AdoNetAppender and PostgreSQL

2007-09-19 Thread Nuno Rocha
Ok, got it working. More exactly, it was already working...but it wouldn't show anything in the database because the bufferSize attribute was the default one...so it would only log after 512 log entries... I added to the configuration and it showed immediately. I hope this helps someone that is

Re: AdoNetAppender and PostgreSQL

2007-09-19 Thread Nuno Rocha
Hmm, I'm using Npgsql as provider for data access. NpgsqlConnection inherits DbConnection and so forth. I've tried to put this working with the following configuration:

Re: AdoNetAppender and PostgreSQL

2007-09-18 Thread Ron Grabowski
If there is an ADO.Net driver for PostgrSQL that implement IDbConnection, IDbCommand, etc. then its supported. - Original Message From: Nuno Rocha <[EMAIL PROTECTED]> To: log4net-user@logging.apache.org Sent: Tuesday, September 18, 2007 1:03:17 PM Subject: AdoNetAppender and PostgreSQL

Re: AdoNetAppender for SQL db issue

2007-04-30 Thread nmarun
I found out the error: --- Move the commandText line after all the parameter nodes. Thanks Arun nmarun wrote: > > Hi Log4Net developers/users, > > I'm currently developing a logging mechanism for our company and I'm > having an issue with the below code - its not working!! > > [code] > >

Re: AdoNetAppender and reconnect

2007-02-08 Thread Martin Hassman
et.cz/ Ron Grabowski napsal(a): Is ReconnectOnError=true ? http://logging.apache.org/log4net/release/sdk/log4net.Appender.AdoNetAppender.ReconnectOnError.html - Original Message From: Martin Hassman <[EMAIL PROTECTED]> To: Log4NET User Sent: Friday, February 2, 2007 4:27:35 A

Re: AdoNetAppender and reconnect

2007-02-07 Thread Ron Grabowski
Is ReconnectOnError=true ? http://logging.apache.org/log4net/release/sdk/log4net.Appender.AdoNetAppender.ReconnectOnError.html - Original Message From: Martin Hassman <[EMAIL PROTECTED]> To: Log4NET User Sent: Friday, February 2, 2007 4:27:35 AM Subject: Re: AdoNetAppend

Re: AdoNetAppender and reconnect

2007-02-02 Thread Martin Hassman
Ron Grabowski napsal(a): What version of log4net are you using? This may have been fixed in 1.2.10. log4net-1.2.10, .NET 2.0 Martin Hassman - Original Message From: Martin Hassman <[EMAIL PROTECTED]> To: log4net-user@logging.apache.org Sent: Thursday, February 1, 2007 5:56:40 AM

Re: AdoNetAppender and reconnect

2007-02-01 Thread Ron Grabowski
What version of log4net are you using? This may have been fixed in 1.2.10. - Original Message From: Martin Hassman <[EMAIL PROTECTED]> To: log4net-user@logging.apache.org Sent: Thursday, February 1, 2007 5:56:40 AM Subject: AdoNetAppender and reconnect Hi, I have problem with AdoNetAppe

RE: AdoNetAppender Connection String from App Config

2007-01-18 Thread Bergemann, Eric
: Log4NET User Subject: Re: AdoNetAppender Connection String from App Config This patch allows the connection string to come from the App.Config's connectionStrings section: http://issues.apache.org/jira/browse/LOG4NET-88 It will most likely make it into the next release. I need to contact Phi

Re: AdoNetAppender Connection String from App Config

2007-01-17 Thread Ron Grabowski
This patch allows the connection string to come from the App.Config's connectionStrings section: http://issues.apache.org/jira/browse/LOG4NET-88 It will most likely make it into the next release. I need to contact Phil and make him re-upload the files with the appropriate radio button for Apach

Re: AdoNetAppender problem.

2007-01-11 Thread Karel Kral
Did you ever watch debug output in Visual Studio? In my experience an ADONetAppender is unable to correctly close on program shutdown and these exceptions are written to debug output. I have found a simple solution: to call LogManager.Shutdown on program exit. - Prostredi: VB.NET, VS2005 P

Re: AdoNetAppender problem.

2007-01-11 Thread Cheng
does any one experience of loss log entries when using AdoNetAppender? I have both RollingFileAppender and AdoNetAppender in one of my application. From time to time, there were some of log entries missing in the database but they were in the log file. The bufferSize is set to 1. On 1/8/07, bo

Re: AdoNetAppender problem.

2007-01-08 Thread bolikdimon
I found better way of doing this: Here is my config file: It works ! Stephen Murtagh wrote: > > I had a similar problem about a year back, ended up subclassing > AdoNetAppenderParameter and overriding the FormatValue method as below

Re: AdoNetAppender problem.

2007-01-08 Thread bolikdimon
Thank you so much, but how can I set the type of the parameter ? Here is my cofig file: Where should I add MyAdoNetAppenderParameter ? Stephen Murtagh wrote: > > I had a similar problem about a year back, ended up subclassing > AdoNetAppenderParamet

Re: AdoNetAppender problem.

2007-01-08 Thread Stephen Murtagh
I had a similar problem about a year back, ended up subclassing AdoNetAppenderParameter and overriding the FormatValue method as below: public class MyAdoNetAppenderParameter : AdoNetAppenderParameter { /// /// Custom version of FormatValue method which also converts NullText value (null)

RE: AdoNetAppender Multiple Columns

2006-09-26 Thread Dean Fiala
I believe you'll find the answer here. http://mail-archives.apache.org/mod_mbox/logging-log4net-user/200609.mbox/%3 [EMAIL PROTECTED] You'll want to use a Thread context property to store the user name. -Original Message- From: ebergemann [mailto:[EMAIL PROTECTED] Sent: Tuesday, Sep

Re: AdoNetAppender questions

2006-09-20 Thread tcochunk
I was having the same problem. I entered the data with milliseconds into sql server directly and it worked fine. (As it should - the datetime datatype is valid within 3.3 milliseconds) That told me is was NOT a SQL issue. I changed the ,fff to .fff and it worked fine.

RE: AdoNetAppender: logging via stored proc:

2006-05-22 Thread Kumar . Velugula
Never mind, I got it...again I have a typo in the "parameterName" Thanks, Kumar -Original Message- From: Velugula, Kumar Sent: Monday, May 22, 2006 9:36 AM To: 'Log4NET User' Subject: RE: AdoNetAppender: logging via stored proc: Hi, I am trying to log to databa

RE: AdoNetAppender: logging via stored proc:

2006-05-22 Thread Kumar . Velugula
elements? Thanks, Kumar -Original Message- From: Velugula, Kumar Sent: Monday, May 22, 2006 9:20 AM To: 'Log4NET User' Subject: RE: AdoNetAppender: I greatly appreciate it. Thanks it works after changing the appender name from "log4net.Appender.Ado

RE: AdoNetAppender:

2006-05-22 Thread Kumar . Velugula
PM To: Log4NET User Subject: Re: AdoNetAppender: What version of log4net are you using? Older versions of log4net used log4net.Appender.ADONetAppender as the type name. The documentation on the website is for log4net 1.2.10. --- [EMAIL PROTECTED] wrote: > > > Hi > > > >

Re: AdoNetAppender:

2006-05-18 Thread Ron Grabowski
What version of log4net are you using? Older versions of log4net used log4net.Appender.ADONetAppender as the type name. The documentation on the website is for log4net 1.2.10. --- [EMAIL PROTECTED] wrote: > > > Hi > > > > I am trying to log messages to Oracle 9i database table 'Log". I am > > g

Re: ADONetAppender

2006-05-02 Thread Priya
I still need help please.  Hi, the following is the code that I use and I'm unable to write to SQL DB. What am I missing ??? :( Any help would be greatly appreciated. Thanks.   Private logger As ILog Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles

RE: ADONetAppender - can only use IP in connection string?

2006-01-03 Thread Billy Barnum
s [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 03, 2006 7:45 AM To: Log4NET User Subject: Re: ADONetAppender - can only use IP in connection string? Thanks. Can anyone comment on log4net 1.2.8? 1.2.9 was a significant upgrade. Simon. -Original message- From: si [EMAIL PROTECTED] Da

Re: ADONetAppender - can only use IP in connection string?

2006-01-03 Thread Simon Wallis
Thanks. Can anyone comment on log4net 1.2.8? 1.2.9 was a significant upgrade. Simon. -Original message- From: si [EMAIL PROTECTED] Date: Mon, 02 Jan 2006 23:34:20 -0800 To: Log4NET User log4net-user@logging.apache.org Subject: Re: ADONetAppender - can only use IP in connection string

Re: ADONetAppender - can only use IP in connection string?

2006-01-02 Thread si
Hi Simon, > Hi, it seems that we can only use the IP,port of our database in the > ADONetAppender > connection string (log4net 1.2.8). Is there a limitation that is preventing > us from using the > database name, or should the database name work as well as IP,port? No problems here using databa

RE: AdoNetAppender wierdness

2005-06-13 Thread Nicko Cadell
Joe, The appender should be opening the connection before using it. Can you enable log4net internal debug and get a trace of log4net initialising the appender and attempting to log? http://logging.apache.org/log4net/release/faq.html#internalDebug Using is preferable to the syntax because it en

RE: AdoNetAppender losing first entry

2005-06-02 Thread Nicko Cadell
age- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 20 May 2005 11:34 > To: Log4NET User > Subject: Re: AdoNetAppender losing first entry > > I've checked the code and think this is an error at line 400 in > BufferingAppenderSkeleton.cs: > >

Re: AdoNetAppender losing first entry

2005-05-20 Thread rgeemail-log4net
I've checked the code and think this is an error at line 400 in BufferingAppenderSkeleton.cs: if (discardedLoggingEvent != null && m_lossyEvaluator != null && m_lossyEvaluator.IsTriggeringEvent(discardedLoggingEvent)) If you don't give a lossy evaluator the event is discarded, regardless of wheth

Re: ADONetAppender losing logs

2005-04-27 Thread Kevin Williams
Sorry, everyone. Forget it. The DOMConfigurator.Configure() line got removed in a branching merge in ClearCase. Doh! Kevin Williams wrote: This issue hasn't gone away, apparently. It seems like our production environment is not logging INFO-level messages. The production environment is not acce

Re: ADONetAppender losing logs

2005-04-27 Thread Kevin Williams
This issue hasn't gone away, apparently. It seems like our production environment is not logging INFO-level messages. The production environment is not accessible by developers, except the database logs. Debugging will be next to impossible due to the security measures and "red tape" around the

Re: ADONetAppender losing logs

2005-04-03 Thread Kevin Williams
Nicko Cadell wrote: Kevin, Setting the BufferSize to any value less than or equal to 1 should have the same effect; to log synchronously. It didn't seem to be that way. It was 0 when it was logging sometimes at best. Once we set it to 1, it seemed to log responsively as would be expected. That ma

RE: ADONetAppender losing logs

2005-04-03 Thread Nicko Cadell
the appender to try to reconnect if the connection is lost. Nicko > -Original Message- > From: Kevin Williams [mailto:[EMAIL PROTECTED] > Sent: 01 April 2005 19:16 > To: Log4NET User > Subject: Re: ADONetAppender losing logs > > No, we're using 1.2.0.30714 and no

Re: ADONetAppender losing logs

2005-04-01 Thread Kevin Williams
No, we're using 1.2.0.30714 and no NDC. I found the answer. We had the bufferSize value set to 0. Once we changed it to 1, it started working again. The remarks for that are quite misleading, IMHO. Here's the doc: The BufferSize option takes a positive integer representing the maximum number o

Re: ADONetAppender losing logs

2005-04-01 Thread Sam Smoot
Are you using 1.2.9 and NDC? If so you might want to check my thread about Missing LoggingEvents in the RemotingAppender. If not, then I'm not sure if I can help, but what I did (may or may not be recommended) is add a Console.WriteLine (though you should probably use a Trace.WriteLine with a Text

RE: ADONetAppender

2005-02-18 Thread Ping Xie
e respond to "Log4NET User" To "Log4NET User" cc Subject RE: ADONetAppender Pass the name of the System.Data.DbType enum value that you would pass to the OracleParameter.DbType.OracleParameter.DbType for the prepared statement parameter. I don't use Oracle but

RE: ADONetAppender

2005-02-17 Thread Nicko Cadell
Message- > From: Ping Xie [mailto:[EMAIL PROTECTED] > Sent: 17 February 2005 16:47 > To: Log4NET User > Cc: Log4NET User > Subject: Re: ADONetAppender > > > Sorry that I forgot to mention that I'm using ADONetAppender > to log to Oracle 9i database. In log4net con

Re: ADONetAppender

2005-02-17 Thread Ping Xie
Sorry that I forgot to mention that I'm using ADONetAppender to log to Oracle 9i database. In log4net configuration file, there is a ... block for each database column, something like listed below.                

RE: ADONETAppender and stored procedures

2005-02-09 Thread Hart, Aaron
your BufferSize set to 1 in the configuration of your ADONetReturnValueAppender. Aaron -Original Message- From: Diego Barros [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 11:08 PM To: Log4NET User Subject: RE: ADONETAppender and stored procedures Hi Aaron, I tried your

RE: ADONETAppender and stored procedures

2005-02-09 Thread Diego Barros
ssage -- >Reply-To: "Log4NET User" >Subject: RE: ADONETAppender and stored procedures >Date: Tue, 8 Feb 2005 08:50:16 -0700 >From: "Hart, Aaron" <[EMAIL PROTECTED]> >To: "Log4NET User" > > >I should also note that I had to change the ADONET

RE: ADONETAppender and stored procedures

2005-02-08 Thread Diego Barros
Hi Aaron, Thanks for taking the time to reply, appreciate it. And thanks for sending the files, I will check them out as I try and get what I want working. Cheers, Diego >-- Original Message -- >Reply-To: "Log4NET User" >Subject: RE: ADONETAppender and stored procedures >

RE: ADONETAppender and stored procedures

2005-02-08 Thread Hart, Aaron
I should also note that I had to change the ADONETAppender class to use protected variables and functions instead of private in order to inherit from it. Aaron Hart -Original Message- From: Hart, Aaron Sent: Tuesday, February 08, 2005 7:25 AM To: 'Log4NET User' S

RE: ADONETAppender and stored procedures

2005-02-08 Thread Hart, Aaron
Diego, I have done this exact thing, although my intentions were different. I wanted to create a logging table that has an auto-increment field and be able to return the value for that field. Since each logging call could go be written to multiple ADONETAppenders and therefore have several sets o

RE: ADONetAppender through a firewall

2005-01-28 Thread Nicko Cadell
Message- > From: Burger, Erik [mailto:[EMAIL PROTECTED] > Sent: 27 January 2005 14:15 > To: 'Log4NET User' > Subject: RE: ADONetAppender through a firewall > > I am not referring to a faulty database server or network problems. > > Many companies (mine is one of the

RE: ADONetAppender through a firewall

2005-01-27 Thread Burger, Erik
Title: RE: ADONetAppender through a firewall I am not referring to a faulty database server or network problems. Many companies (mine  is one of them) reboot their servers at least once a week. This is perfectly normal maintenance policy. If the database goes offline and online constantly

RE: ADONetAppender through a firewall

2005-01-27 Thread Ron Grabowski
> Phone: +44 (0) 23 8076 2519 > Fax: +44 (0) 23 8076 2555 > Email: [EMAIL PROTECTED] > > > -Original Message- > From: Nicko Cadell [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 25, 2005 1:55 AM > To: Log4NET User > Subject: RE: ADONetAppender through a firewa

RE: ADONetAppender through a firewall

2005-01-27 Thread Burger, Erik
Title: RE: ADONetAppender through a firewall Would it be an option to add a configurable parameter to the ADONetAppender that specifies a timespan between retries? Perhaps in this case the buffer size should become dynamic so that no messages are lost. Just adding my two cents. I must admit

RE: ADONetAppender through a firewall

2005-01-25 Thread Nicko Cadell
Dave, Out of interest what would happen if the AdoNetAppender could not connect to the database for some reason, lets say there is a network connectivity error? Does this change mean that the appender tries to connect each time a message is logged? Does this lead to a 30 second blocking timeout fo

RE: ADONetAppender - returning output parameters

2004-12-19 Thread Nicko Cadell
Aaron, > I had that same thought. There are a couple of problems I saw > with that, though. The LoggingEvent object is passed in by > value, through several intermediary objects. Each of those > would have to be changed, which would affect five or six > objects just to change them to use refe

RE: ADONetAppender - returning output parameters

2004-12-17 Thread Hart, Aaron
ge request. Aaron Hart -Original Message- From: Nicko Cadell [mailto:[EMAIL PROTECTED] Sent: Friday, December 17, 2004 10:01 AM To: Log4NET User Subject: RE: ADONetAppender - returning output parameters Aaron, The standard implementation of the ADONetAppender does not support retrievi

RE: ADONetAppender - returning output parameters

2004-12-17 Thread Nicko Cadell
Aaron, The standard implementation of the ADONetAppender does not support retrieving results from the database query. You will need to create your own implementation that also retrieves a result from the database. The LoggingEvent has a Properties map that can be used to store additional data. You

RE: ADONetAppender

2004-12-01 Thread Nicko Cadell
Patrick, What error are you getting? Nicko > -Original Message- > From: Patrick [mailto:[EMAIL PROTECTED] > Sent: 30 November 2004 08:35 > To: Nicko Cadell > Subject: ADONetAppender > > Dear Mr. Cadell! > > > > Excellent, now it works. One problem occurred regarding my > mobile a

RE: AdoNetAppender

2004-11-30 Thread Nicko Cadell
The MSDN docs seem to have some useful examples about how to specify the parameters to the prepared statement. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/h tml/frlrfsystemdatasqlservercesqlcecommandclasspreparetopic.asp Nicko > -Original Message- > From: Patr

RE: AdoNetAppender

2004-11-29 Thread Nicko Cadell
Patrick, To write to a SqlCE database you will need to use the SqlCeConnection connection type. The type to specify will be something like: System.Data.SqlServerCe.SqlCeConnection, System.Data.Sqlserverce, Version=X.X.X.X, Culture=neutral, PublicKeyToken=XX I don't know what the Ver

RE: ADONetAppender

2004-11-29 Thread Nicko Cadell
l me what I have forgotten or made wrong?? > > Best Regards > > > -- > Patrick Achatschitz, Bakk. > Fasangasse 8/3 > 1030 Vienna > Austria > > Mobile: 01 650 270 8819 > > -Ursprüngliche Nachricht- > Von: Nicko Ca

RE: ADONetAppender

2004-11-29 Thread Nicko Cadell
Patrick, Have you tried enabling log4net internal debug so that you can get a trace of any errors that may be occurring when connecting to the database? See: http://logging.apache.org/log4net/release/manual/faq.html#internalDebug Cheers, Nicko > -Original Message- > From: Patrick [mail

RE: ADONETAPPENDER

2004-08-04 Thread gerald . dupres
Thank you for your assistance, indeed with a buffersize = "1" évents are stored directly in base. But i have always a problem with the Windows services: Indeed on my server, i have a service which turns but no évent is registered in base, even with a buffersize = "1". If you could also help me o

RE: ADONETAPPENDER

2004-07-30 Thread Nicko Cadell
The ADONetAppender is able to buffer events before writing them to the DB. The buffer size is controlled the following configuration: This means that the appender will not write anything to the DB until it has buffered 100 events, it will then write all the events in the buffer in one go. When l

RE: ADONetAppender problems

2004-04-19 Thread Nicko Cadell
Adam, The PatternLayout("$X{UserID}") should be %X{FileID} and %X{UserID} However I don't know why the sql client is not liking the SQL it is trying to build. What are the arguments, types and sizes for the InsertAuditEntry stored procedure? Nicko > -Original Message- > From: Adam Pata

RE: ADONetAppender problems

2004-03-24 Thread Philippe Lavoie
Are you sure it's AnsiString? Anyway, I did notice that any varchar > 4000 wasn't available. I had columns with 8000 on them and it couldn't log to them. I also had a text field and it didn't work. But the following does work for me but I use String as opposed to AnsiString.