ado.net and MySQL

2004-11-25 Thread drouillon
hi, Is it possible to connect to a MySQL database? I have installed the MySQL Connector/Net 1.0 component, and I tried to create an appender with this parameter: <... but it doesn't work. Is there someone how has some experience with ado.net appender on MySQL database? Thanks for any help.

RE: Custom Appender

2004-11-25 Thread Nicko Cadell
Ian, The AdoNetAppender example simply shows logging fields that the LoggingEvent captures for each event. You do not need to log the same fields into that schema. The AdoNedAppender just calls a parameterised stored procedure or prepared statement. The only requirement is that you can pass your l

RE: LogicalThreadContext vs ThreadContext

2004-11-25 Thread Nicko Cadell
Paul, The whole stack is stored in a property - with the same name as the stack. Therefore you are correct you need to use the property pattern to retrieve the stack value. You can use %P{OrderID} or %property{OrderID} in the PatternLayout. Nicko > -Original Message- > From: Paul Welter

RE: RollingFileAppender ASP.NET

2004-11-25 Thread Nicko Cadell
You should be able to use log4net internal debug to get a trace of what log4net is doing including an log of why it cannot open the output file. http://logging.apache.org/log4net/release/manual/faq.html#internalDebug Is your ASP.NET app configured to impersonate the client user? If so then you m

RE: Ability to use tilda (or relative path) when specifing output file in config file for ASP.Net logging

2004-11-25 Thread Nicko Cadell
Ron, The file path is relative. It is relative to the value of: AppDomain.CurrentDomain.BaseDirectory In ASP.NET I think this is set to the windows system32 directory. Which is not very helpful. In log4net 1.2 beta 8 it is not possible to parameterise the File path directly. It is possible to ex

RE: [1.1.1] No appenders could be found for category

2004-11-25 Thread Nicko Cadell
Jens, Have you tried using log4net 1.2 beta8? It is more reliable that the 1.1.1 version and has improved internal debugging messages for investigating issues like this. Cheers, Nicko > -Original Message- > From: Jens Ansorg [mailto:[EMAIL PROTECTED] > Sent: 20 November 2004 11:25 > To: