You're probably mixing signing the dll for GAC (strong name), and
Authenticode as offered by Verisign and others which Michael asks for.
Log4net is distributed as a strong name assembly signed by a key held by
Apache. If you recompile log4net from source and want it strong named,
you'll have to
The instructions on log4net's project page didn't work?
http://logging.apache.org/log4net/mail-lists.html
-Opprinnelig melding-
Fra: Monica Vezzalini [mailto:mvezzal...@eim.it]
Sendt: 22. juni 2009 09:19
Til: 'Log4NET User'
Emne: R: unsubscribe
Hello I have been trying to unsuscribe as
I don't think I understand what the problem is?
You're saying writing to UNC is fine, while log4net complains about T: being
unavailable? As Steve says, this indicates that T: isn't mapped for the logged
on user (did the login script run successfully?)
Re your code below: If T: and the UNC path
Value,
Level.Verbose.Value= 1, Level.Debug.Value= 3 etc. Level.Off
(int.MaxValue) disables all logging.
Hope this helps,
Dag
____
Dag Christensen
Senior Developer, Visma Retail AS
Switchboard : +47 33 34 94 00
From: Vi
Should be handled transparently if you're using SqlClient or native
client and a correct connection string. I think log4net uses OLE DB by
default, you might want to try changing this to SqlClient.
If it still doesn't work, try setting your appender's ReconnectOnError
to true.
It would also
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
t it doesn't
make a difference:
...
...
...
(This is the config file in the executable directory).
Regards,
Neil
-----Original Message-
From: Dag Christensen [mailto:[EMAIL
The top level node should be log4net when you're using a stand-alone
configuration file, not configuration. Configuration is afaik only used
in app.config files.
Regards,
Dag
-Original Message-
From: Neil Haughton [mailto:[EMAIL PROTECTED]
*snip*
The bare bones of the log4net.config f
6.mbo
x/browser
Best wishes,
Dag Christensen
###
This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/
d end elements according to the same page.
Best wishes,
Dag Christensen
###
This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/
>Is there a workaround for that? I mean this can't be intended behaviour
>:) But as I interpret your answer, this has most likely something to do with
>the Mono Framework, not with log4net, right?
>
>Mit freundlichen Grüßen / Regards
>Johannes Frank
Not sure if this behavior is intended or not,
Try this:
Place it on the same level as your category.
Regards,
Dag Christensen
###
This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/
It's a while since they changed null values from empty strings to
(null). Ron suggested this value should be configurable, but I'm not
sure if his patch (http://issues.apache.org/jira/browse/LOG4NET-55) is
implemented yet (marked as fixed but not affecting any versions)?
See the threads "constant
description was clear enough :-p Any suggestions how to
proceed to solve this ?
Thanks,
Dag Christensen
Vestfold Butikkdata AS
###
This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/
Use this code for custom log levels:
log.Logger.Log(log.Logger.Name, Level.CRITICAL, "oops!", null);
Check the help file for predefined levels, or you can make your own
custom levels:
Level Catastrophic = new Level(13, "CATASTROPHIC");
log.Logger.Log(log.Logger.Name,
To enable log4net's internal logging for troubleshooting, see the FAQ:
http://logging.apache.org/log4net/release/manual/faq.html#internalDebug
You can find configuration examples for the appenders you mention here:
http://logging.apache.org/log4net/release/config-examples.html
Regards,
Dag
-
Please see the documentation
http://logging.apache.org/log4net/release/manual/introduction.html#HC-71
89308
Short answer is yes, it will send the log message to all listening
appenders.
Regards,
Dag
From: Rutledge, J. Mike [mailto:[EMAIL PROTECTED]
Sent:
Hi,
"log-file.txt" is used in one of the examples included with beta 8,
check that you don't have an old configuration file that causes problems
for you.
Dag
-Original Message-
From: Ron Grabowski [mailto:[EMAIL PROTECTED]
Sent: 7. mars 2005 16:22
To: Log4NET User
Subject: Re: still lo
Title: Computer name in parameter name of FileAppender
You should use curly brackets { }, not parenthesis (
)
Regards,
Dag
From: Nemegeer Marc
[mailto:[EMAIL PROTECTED] Sent: 17. februar 2005
17:16To: log4net-user@logging.apache.orgSubject: Computer
name in parameter name of FileAppe
We have been using log4net in production since Summer 2002, and have
experienced no problems (even on SMP servers). We're using 1.2.0 beta 8
now. Appenders we use are RollingFileAppender and ConsoleAppender (with
PatternLayout).
Regards,
Dag Christensen
Vestfold Butikkdata AS
-Ori
Just a guess:
If you're using SQL Server and you're sorting on the log entry
timestamp, there's a restriction in SQL Server's datetime type which
only has accuracy of one three-hundredth of a second, see the first
paragraph here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ts
There's one in the help file, see the log4net.Layout -> PatternLayout topic
(v1.2.0 beta 8)
Regards,
Dag
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 1. desember 2004 08:13
To: [EMAIL PROTECTED]
Cc: Log4NET User
Subject: Re: list of conversionPatterns
Hi M
For performance, see the FAQ:
http://logging.apache.org/log4net/release/manual/faq.html#HC-14456678
Dag
From: Dru Sellers [mailto:[EMAIL PROTECTED]
Sent: 17. november 2004 02:56
To: 'Log4NET User'
Subject: Easy Question
Why would you write
If log.IsInfoEna
You can get the application data path from the environment:
Dag
From: Graham Allwood [mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 11:56 AM
To: log4net-user@logging.apache.org
Subject: FileAppender path
Hi,
Using the FileAppender (or
Are you monitoring System.Threading.Thread threads or
System.Diagnostics.ProcessThread threads?
The only use of threading I can find in log4net is ThreadPool usage in
RemotingAppender? Are you sure it's not an internal .NET thread you're watching?
Running this code on my computer
ProcessThread
Do you use RollingFileAppender for your logging? I'm using this setup which
does not lock any of the "rolled" backup files.
Dag
From: Pinto, Antonio Joaquim [mai
I use appx this code to enable verbose logging (more detailed than
debug). I haven't managed to, or tried very hard to, enable "verbose"
logging using my log4net configuration file - any tips here is greatly
appreciated. Verbose logging is only used by our developers while
debugging code so the cur
Hi,
Have you read the FAQ at http://logging.apache.org/log4net/? There's a
section there covering your question I believe. A sample application is
also provided with the log4net distribution.
Regards,
Dag
-Original Message-
From: Rajkumar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July
Hi,
Try specifying FileShare.ReadWrite instead of FileShare.Read and see if
that helps. I believe specifying just Read will only allow subsequent
reads from the file, not writes. Since the file is already opened for
writing (by log4net) your call fails.
Regards,
Dag
-Original Message-
Add this line to your rollingfileappender configuration:
This will append the date string to the filename, which I believe is
what you want to do ?
It appears "true" is the default value, I'm not sure if this has changed
from older versions?
Dag
Fro
Check if you have a file called app.config in your project.
When you build the project, Visual Studio will copy app.config to the
build folder as application.exe.config, thus overwriting your file. This
occurs when you build the project, so running the exe directly won't
cause the file to be overw
re. Do you plan on
releasing the source of that to the community?
Thanks,
Chad
-Original Message-
From: Dag Christensen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 01, 2004 3:05 AM
To: Log4NET User
Subject: Log4net in production environments (was: Independent
FileAppenders)
Regarding 1.
Regarding 1.2.0 still being in beta:
We've been using 1.2.0 beta 8 on two servers since it was released
almost a year ago, and it's been running in production on appx 500
computers since September. By the end of this year it should be running
on ~10.000 computers and 500 servers in a point of sale
Did you use an absolute or relative path? I used "Log\\log.txt" in my
web.config file. If you use an absolute path I'd guess ASP.NET requires
list(/read) rights to all folders in the path used?
- Dag
-Original Message-
From: Ronnie Hayden [mailto:[EMAIL PROTECTED]
Sent: Friday, May 28,
Have you tried logging to a subdirectory in your web solution? Create a
folder /log and give it write permissions in internet service manager.
This might not be secure enough for your needs but should get you
started.
- Dag
-Original Message-
From: Ronnie Hayden [mailto:[EMAIL PROTECTED]
I don't see why you have to shutdown and restart log4net if you're using
ConfigureAndWatch? log4net will detect changes to this file
automatically and reconfigure itself.
If this is not what you want, you should use Configure instead.
Dag
-Original Message-
From: Chad Myers [mailto:[EMA
38 matches
Mail list logo