RE: Welcome Dominik Psenner as new Committer

2012-06-08 Thread Dominik Psenner
Dear log4net community, it is my pleasure to inform you, Dominik has been elected as a new committer to the project. He's been active around here for quite some time and will now be able to work on the code base directly. I'm sure the project is going to benefit a lot from him. Welcome Dominik

RE: fileAppender.ActivateOptions generates NullReferenceException

2012-06-22 Thread Dominik Psenner
So I'm calling fileAppender.ActivateOptions to change the log file name it occasional generates a NullReferenceException, but the catch is that it only does it occasionally. It usually works. The posts I've all read involve issues that would lead fileAppender.ActivateOptions to fail all the

RE: Lossy logging on a per user basis for a high traffic website

2012-08-07 Thread Dominik Psenner
Hi Joe, I would recommend You to implement a filter that matches your requirements by implementing the IFilter interface or - even better - by subclassing FilterSkeleton. Cheers, Dominik _ From: Joe Udwin [mailto:joe.ud...@questionmark.co.uk] Sent: Tuesday, August 07, 2012

RE: Lossy logging on a per user basis for a high traffic website

2012-08-08 Thread Dominik Psenner
Hi Joe, I would need to buffer huge volumes of other users messages in order to be confident that the user who is in an exceptional state still had all their messages in the buffer. My approach would be as simple as this pseudo-code: public abstract class YourFilter : FilterSkeleton {

RE: log4net RollingLogFileAppender: is this possible to set limit for TOTAL size of all log files?

2012-09-24 Thread Dominik Psenner
Hi Kelly, Configured like this the total maximum size of all log files should be around 5MB * 10, which is somewhat like 50MB. Scaling either the size of a single logfile (maximumFileSize) or the number of logfiles (maxSizeRollBackups) by 2 should bring you to your 100MB, doesn't it? Cheers

RE: log4net RollingLogFileAppender: is this possible to set limit for TOTAL size of all log files?

2012-09-25 Thread Dominik Psenner
If I set maximumFileSize=10MB and maxSizeRollBackups=10, I will get 10 files for a Day with total size 100MB. During the next day (Day+1) I will get another 10 files for the Day+1 with total size 100MB; the previous 10 files (ones for the Day) will NOT be removed when new files (for the Day+1)

Re: UDP Appender in a VPC

2012-10-19 Thread Dominik Psenner
your computer and/or storage system. -- Dominik Psenner ## OpenPGP Key Signature # # Key ID: B469318C # # Fingerprint: 558641995F7EC2D251354C3A49C7E3D1B469318C # ##

RE: UDP Appender in a VPC

2012-10-22 Thread Dominik Psenner
-- Dominik Psenner

Re: ListViewAppender: ListView always null?

2012-11-04 Thread Dominik Psenner
://old.nabble.com/ListViewAppender%3A-ListView-always-null--tp34636403p34636403.html Sent from the Log4net - Users mailing list archive at Nabble.com. -- Dominik Psenner ## OpenPGP Key Signature # # Key ID: B469318C # # Fingerprint

Re: ListViewAppender: ListView always null?

2012-11-04 Thread Dominik Psenner
them or may not even be triggered at all, which obviously is even worse. Cheers, D. -- Dominik Psenner ## OpenPGP Key Signature # # Key ID: B469318C # # Fingerprint: 558641995F7EC2D251354C3A49C7E3D1B469318C # ##

Re: How can I get a simple log to write to disk as soon as the message is logged?

2012-12-17 Thread Dominik Psenner
=RollingFile / /root /log4net Thank you very much. -- Dominik Psenner ## OpenPGP Key Signature # # Key ID: B469318C # # Fingerprint: 558641995F7EC2D251354C3A49C7E3D1B469318C # ##

Re: log4net in medium trust ASP.NET 4.x

2013-01-02 Thread Dominik Psenner
On 01/02/2013 04:07 PM, Andrew Arnott wrote: I noticed [an issue][1] is already filed for this. But it seems to be dormant and the proposed fix was apparently difficult. I’ve added comments to the issue that offer two alternatives for fixing it that are both one-liners, and both arguably a

RE: log4net:ERROR Failed to append to appender [EventLogAppender]

2013-01-09 Thread Dominik Psenner
Hi, did this happen near the end of the process lifetime (i.e. when you closed the application that uses log4net for logging)? Cheers, D. _ From: Dmitry Pogodin [mailto:lunatic...@gmail.com] Sent: Wednesday, January 09, 2013 11:38 AM To: log4net-user@logging.apache.org

RE: log4net:ERROR Failed to append to appender [EventLogAppender]

2013-01-09 Thread Dominik Psenner
. _ From: lunaticare [mailto:lunatic...@gmail.com] Sent: Wednesday, January 09, 2013 1:36 PM To: Log4NET User Subject: Re: log4net:ERROR Failed to append to appender [EventLogAppender] Hello Dominik, you're right, this happens when application closes. 2013/1/9 Dominik Psenner dpsen...@gmail.com

Re: log4net:ERROR Failed to append to appender [EventLogAppender]

2013-01-10 Thread Dominik Psenner
You're welcome and thanks for the Kudos. 2013/1/10 lunaticare lunatic...@gmail.com: Dominik, you were right. Setting IsBackground=true did solve the problem. Thank you very much for your assistance and such a great library! 2013/1/9 Dominik Psenner dpsen...@gmail.com In this case I would

Nightly builds

2013-02-26 Thread Dominik Psenner
Hi there, Andrew Arnott posted that he is interested in nightly builds of log4net. Therefore I am hereby raising a poll to see if also the community is interested. Please post back with your opinion by placing a cross and optionally a small comment. Just like this: -- DUMMY -- [ ] Yes [X] No,

RE: Nightly builds

2013-03-05 Thread Dominik Psenner
Hi there, the poll ended some hour ago and I wanted to give it a little more time. But unfortunately that did not help and only a few people participated. Even though 2 ouf of 4 people who shared their opinion are interested in nightly builds, there does not seem to be enough interest in the

RE: Log4net NOT working on .net 4.5

2013-04-09 Thread Dominik Psenner
Hi, You provide not enough information so that someone could help you finding out what's wrong. If you referenced the log4net DLL, configured the appenders properly and are writing some log messages but still nothing happens, it is always a good idea to enable log4net's internal logging to

RE: Log4net NOT working on .net 4.5

2013-04-09 Thread Dominik Psenner
. if you are trying to use AdoNetAppender to log into a SQL Server 1997 database). Cheers, D. [1] http://logging.apache.org/log4net/release/features.html#frameworks [2] http://msdn.microsoft.com/en-us/library/hh367887.aspx _ From: Dominik Psenner [mailto:dpsen...@gmail.com] Sent

Re: Log4net NOT working on .net 4.5

2013-04-10 Thread Dominik Psenner
Tigre el_tigre...@yahoo.com wrote: All is setup correctly (I have used log4net in the past) but is not working for my project with .net 4.5 And I must use .net 4.5 -- Dominik Psenner ## OpenPGP Key Signature # # Key ID: B469318C

RE: Log4net NOT working on .net 4.5

2013-04-10 Thread Dominik Psenner
settings BasicConfigurator.Configure(); it gives me and error saying ...It's a method but is used like a type El TigreT C _ From: Dominik Psenner dpsen...@gmail.com To: 'Log4NET User' log4net-user@logging.apache.org; 'El Tigre' el_tigre...@yahoo.com Sent: Wednesday, April 10

RE: Log4net NOT working on .net 4.5

2013-04-10 Thread Dominik Psenner
I'm glad you finally worked it out and I hope you learned something. In the future you should consult the manuals and check if you're doing things how it's written down in the manuals. Posting something like all is setup correctly (I have used log4net in the past) without being sure can cause

Re: log4net with IntelliTrace

2013-05-06 Thread Dominik Psenner
distributed load tests, and we’re standardizing on log4net for logging in our test code. Cheers, Todd. -- Dominik Psenner ## OpenPGP Key Signature # # Key ID: B469318C # # Fingerprint

Re: log4net with IntelliTrace

2013-05-06 Thread Dominik Psenner
seriously doubt they designed it to be easy to integrate 3rd party tools with, though I could be wrong! ** ** ** ** Thanks, Todd. ** ** *From:* Dominik Psenner [mailto:dpsen...@gmail.com] *Sent:* Monday, May 06, 2013 11:12 AM *To:* Log4NET User *Subject:* Re: log4net

AW: How to force log4net to refresh timezone information?

2013-05-23 Thread Dominik Psenner
Hi I'm wondering, how often does your deployment computer travel from one timezone to another while it is powered on? Cheers, D. Von: Warrick Wilson [mailto:guywithd...@gmail.com] Gesendet: Donnerstag, 23. Mai 2013 05:55 An: log4net-user@logging.apache.org Betreff: How to force

AW: How to force log4net to refresh timezone information?

2013-05-23 Thread Dominik Psenner
? Hi, On Thu, May 23, 2013 at 11:31 AM, Dominik Psenner dpsen...@gmail.com wrote: I’m wondering, how often does your deployment computer travel from one timezone to another while it is powered on? Maybe its an app for use in aircraft? You never know... Von: Warrick Wilson [mailto:guywithd

AW: How to force log4net to refresh timezone information?

2013-05-23 Thread Dominik Psenner
-threading. The CultureInfo properties are, AFAIK, thread-static. Cheers, D. -Ursprüngliche Nachricht- Von: Dominik Psenner [mailto:dpsen...@gmail.com] Gesendet: Donnerstag, 23. Mai 2013 13:13 An: 'Log4NET User' Betreff: AW: How to force log4net to refresh timezone information? In aircrafts

AW: log4net.dll version 1.2.10.0 (FileSystemWatcher objects)

2013-05-24 Thread Dominik Psenner
Good morning Yuvraj, There's no way of being sure unless you have tried it out with your application or a sample application that uses log4net in the same way you do. Of course a sample application could do things faster than normal and in an automated way so that the problem happens sooner

AW: Log4Net works in Dev without calling XMLConfigurator?

2013-06-17 Thread Dominik Psenner
Hi For what it's worth, the logging should be initialized with the default settings. That happens to be a root logger and nothing more. So the apparently working loggers may be just an illusion. Cheers, D. -Ursprüngliche Nachricht- Von: psandler [mailto:psandle...@yahoo.com] Gesendet:

AW: log4net runtime error - Failed to Marshal remoting sink

2013-08-07 Thread Dominik Psenner
This is most probably related to this: http://msdn.microsoft.com/en-us/library/dd233102.aspx http://msdn.microsoft.com/en-us/library/dd233102.aspx Known as: http://issues.apache.org/jira/browse/LOG4NET-347 http://issues.apache.org/jira/browse/LOG4NET-347 And fixed since revision:

AW: log4net runtime error - Failed to Marshal remoting sink

2013-08-08 Thread Dominik Psenner
Thanks for the links Dominik. Stefan B also said LOG4NET-318 is related to this, and should be fixed after 1.2.11. When I get a chance, I will try the 1.2.12 version. From: Dominik Psenner [mailto:dpsen...@gmail.com] Sent: Wednesday, August 07, 2013 10:39 AM To: 'Log4NET User' Subject

Re: Log4net ADONetAppender

2013-08-13 Thread Dominik Psenner
] not found. Any help or suggestions would be greatly appreciated. I have tried Goggling for an answer but have not found anything. Thanks. Peter -- Dominik Psenner ## OpenPGP Key Signature # # Key ID: B469318C

AW: Log4net ADONetAppender

2013-08-14 Thread Dominik Psenner
On Tue, Aug 13, 2013 at 2:45 PM, Dominik Psenner dpsen...@gmail.com mailto:dpsen...@gmail.com wrote: Hi The message indicates that something cannot be instantiated. Maybe you have misspelled some class name or you have forgot to copy over a library? Cheers 2013/8/13 Peter K

AW: Chainsaw

2013-08-28 Thread Dominik Psenner
Hi Todd, You happen to be on the wrong list. This is the log4net mailing list. Cheers Von: Todd Bradley [mailto:todd.brad...@nirvanix.com] Gesendet: Mittwoch, 28. August 2013 15:50 An: log4net-user@logging.apache.org Betreff: Chainsaw Years ago I when I first learned Apache

AW: Thread Safety in Log

2013-09-06 Thread Dominik Psenner
At this point I usually quote Hector Correa: http://hectorcorrea.com/blog/log4net-thread-safe-but-not-process-safe http://hectorcorrea.com/blog/log4net-thread-safe-but-not-process-safe You can verify that log4net is indeed thread safe with a 3 liner console application. However, most

AW: What does the MemoryAppender's Fix() method do?

2013-09-30 Thread Dominik Psenner
http://logging.apache.org/log4net/release/sdk/log4net.Core.FixFlags.html I think this is what you're looking for, isn't it? Von: Rob Richardson [mailto:rdrichard...@rad-con.com] Gesendet: Montag, 30. September 2013 15:05 An: Log4NET User Betreff: What does the MemoryAppender's Fix()

AW: What does the MemoryAppender's Fix() method do?

2013-09-30 Thread Dominik Psenner
] Gesendet: Montag, 30. September 2013 16:37 An: Log4NET User Betreff: RE: What does the MemoryAppender's Fix() method do? Thank you very much. I understand now. But I note that in the link below, it says that FixVolatileData() is now considered obsolete. Why is that? From: Dominik

AW: log4net rolling file appender losing log files during roll over

2014-01-14 Thread Dominik Psenner
Good morning, I've looked at the logfile [2] and all starts with the .log file not being rolled cause the file is still open and thus can't be moved. The following warnings are caused by the first error. So this is where the trouble starts: log4net: Moving

AW: log4net rolling file appender losing log files during roll over

2014-01-17 Thread Dominik Psenner
It would be worth checking if your assumption is true by logging the process id and the thread name (pattern layouts %processid and %thread). Cheers Von: Douglas Neary [mailto:dne...@miteksystems.com] Gesendet: Donnerstag, 16. Januar 2014 23:24 An: Log4NET User Betreff: RE: log4net

Re: log4net filling memory in prod

2014-01-30 Thread Dominik Psenner
? Thank you! -- Dominik Psenner

AW: AW: how to keep 3 days of logs

2014-02-18 Thread Dominik Psenner
I think that what he is searching for is the combination of MaxBackupIndex=3 and rolling style Once. Rolling by date won't work with the backup index detection mechanisms. Von: George Mauer [mailto:gma...@gmail.com] Gesendet: Dienstag, 18. Februar 2014 16:19 An: Log4NET User Betreff: Re: AW:

[ANNOUNCEMENT] Welcome Matt Sicker

2014-03-02 Thread Dominik Psenner
Hi, it is my pleasure to announce to the community that Matt Sicker has joined our ranks. He made remarkable contributions to LOG4J and we all believe he is a valuable member of Apache Logging Services now and in future. Kind regards, Dominik Psenner

AW: Rolling File Appender by date

2014-05-16 Thread Dominik Psenner
Hello Herrmann I don't think that works right now - at least not in a way such that I would trust it. The trouble lies in situations where the application is stopped for an arbitrary amount of time. It might become computationally intensive to find every file created by the logger and the

AW: RollingFileAppender overwriting file

2014-05-29 Thread Dominik Psenner
going to make sure the application does not execute from 11:30 - 12:30 and see if this helps it to roll the log over correctly. From: Dominik Psenner [mailto:dpsen...@gmail.com] Sent: Tuesday, 27 May 2014 04:24 PM To: 'Log4NET User' Subject: AW: RollingFileAppender overwriting file Just

ApacheCon EU call for papers

2014-05-29 Thread Dominik Psenner
Hey people, this is a reminder that we're in the final weeks of the ApacheCon EU call for paper and it will close at the end of the day of June 25th, whatever timezone is latest. We are still looking for presentations for this event. Check out this if you're interested:

Re: RollingFileAppender overwriting file

2014-05-30 Thread Dominik Psenner
is that the process runs on a Hyper-V virtualised server, writing to a log file stored on a network share on a completely different server. Do you think anything related to this could cause the issue? *From:* Dominik Psenner [mailto:dpsen...@gmail.com] *Sent:* Thursday, 29 May 2014 10:01 PM

Re: AdoNetAppender not working PostgreSQL database using Npgsql

2014-05-30 Thread Dominik Psenner
it manually, making sure not to use double-quotes around the identifiers. Once I did that, I got the log messages in the table as expected. RobR -- Dominik Psenner

AW: set buffersize conditionally?

2014-06-12 Thread Dominik Psenner
Good morning You can tell log4net to flush the buffer on specific events (see Evaluator property in the class log4net.Appender.BufferingAppenderSkeleton). However, you can have exactly one buffer size for each buffering appender because every appender has exactly one buffer. You could

Re: Log4net.ThreadContext.Properties Having stale data. How to resolve it?

2014-07-24 Thread Dominik Psenner
, randomGeneratedData = rad1 NDC = ndcTest1 ndcTest2 , randomGeneratedData = rad2 NDC = , randomGeneratedData = rad2 and so on ... I tried to clear log4net.ThreadContext.Properties before filling it again , but it was of no use. Please help. -- Dominik Psenner

Re: Log4net.ThreadContext.Properties Having stale data. How to resolve it?

2014-07-25 Thread Dominik Psenner
, Jul 24, 2014 at 10:38 AM, Ananth Tatachar ananth.tatac...@gmail.com wrote: Sorry I forgot to mention : My application is multithreaded and the log4net version = 1.2.12 On Thu, Jul 24, 2014 at 10:32 AM, Ananth Tatachar ananth.tatac...@gmail.com wrote: Hi Dominik Psenner , Thanks a lot

Re: Section or group name 'log4net' is already defined

2014-08-08 Thread Dominik Psenner
or omissions in the contents of this message which may arise as result of transmission. If verification is required please request hard-copy version -- Dominik Psenner

AW: Dynamically change log levels confined to ThreadContext

2015-02-12 Thread Dominik Psenner
Hi Christopher, I believe that you would have to create your own level evaluator implementation. Basically you implement the interface log4net.Filter.IFilter or, to make the interaction with the filter chain less painful, you extend log4net.Filter.FilterSkeleton. There you can override the

AW: [External] AW: Log4Net RollingFileAppender not adding Custom property in Win8/VS2013

2015-01-08 Thread Dominik Psenner
of the machine with Win8. Regards Nitin From: Dominik Psenner [mailto:dpsen...@gmail.com] Sent: 07 January 2015 18:44 To: 'Log4NET User' Subject: AW: [External] AW: Log4Net RollingFileAppender not adding Custom property in Win8/VS2013 Given that you’ve already enabled and checked log4net’s

AW: Log4Net RollingFileAppender not adding Custom property in Win8/VS2013

2015-01-07 Thread Dominik Psenner
Howdie, Here’s a list of things that you could check: * First of all enable log4net’s internal debug logging, it may give you a clue what he is doing * Make sure to call log4net.Config.XmlConfigurator.Configure() after setting the property * Escape path separators

AW: [External] AW: Log4Net RollingFileAppender not adding Custom property in Win8/VS2013

2015-01-07 Thread Dominik Psenner
that property and create alone the file name as the datetime and not the static value I have added. It’s very surprising and I am banging my head what changes are doing this to happen. :/ Regards Nitin From: Dominik Psenner [mailto:dpsen...@gmail.com] Sent: 07 January 2015 17:36

Apache Con

2015-03-19 Thread Dominik Psenner
Dear Apache Logging enthusiast, In just a few weeks, we'll be holding ApacheCon in Austin, Texas, and we'd love to have you in attendance. You can save $300 on admission by registering NOW, since the early bird price ends on the 21st. Register at http://s.apache.org/acna2015-reg ApacheCon this

AW: 64bit problem?

2015-02-27 Thread Dominik Psenner
version on the server is 3, on the laptop it is 4. Liebe Grüsse/Cordialement/Cordialità Thiemo Kellner -- Office fédéral de la statistique Espace de l'Europe 10 2010 Neuchâtel / Suisse IT-AB Tel +41 32 71 36516 Von: Dominik Psenner [mailto:dpsen...@gmail.com] Gesendet

AW: 64bit problem?

2015-02-27 Thread Dominik Psenner
Kellner -- Office fédéral de la statistique Espace de l'Europe 10 2010 Neuchâtel / Suisse IT-AB Tel +41 32 71 36516 Von: Dominik Psenner [mailto:dpsen...@gmail.com] Gesendet: Freitag, 27. Februar 2015 09:48 An: 'Log4NET User' Betreff: AW: 64bit problem? It might be a security

AW: 64bit problem?

2015-02-27 Thread Dominik Psenner
. Liebe Grüsse/Cordialement/Cordialità Thiemo Kellner -- Office fédéral de la statistique Espace de l'Europe 10 2010 Neuchâtel / Suisse IT-AB Tel +41 32 71 36516 Von: Dominik Psenner [mailto:dpsen...@gmail.com] Gesendet: Freitag, 27. Februar 2015 14:13 An: 'Log4NET User

AW: 64bit problem?

2015-02-27 Thread Dominik Psenner
IT-AB Tel +41 32 71 36516 Von: Dominik Psenner [mailto:dpsen...@gmail.com] Gesendet: Donnerstag, 26. Februar 2015 15:40 An: 'Log4NET User' Betreff: AW: 64bit problem? To be honest, the error message is rather cryptic to me. What I know is that log4net is not compiled against

AW: AppenderSkeletion lock in DoAppend

2015-03-04 Thread Dominik Psenner
Hi, from what I can recall it could happen that the formatted representation of a logging event gets mixed up with data from other events and thus the characters streamed to a sink become garbage (i.e. a file, console, ..) if this lock is removed. Internally a lot of things are cached

AW: AppenderSkeletion lock in DoAppend

2015-03-04 Thread Dominik Psenner
March 2015 at 15:38, Dominik Psenner dpsen...@gmail.com mailto:dpsen...@gmail.com wrote: Hi, from what I can recall it could happen that the formatted representation of a logging event gets mixed up with data from other events and thus the characters streamed to a sink become garbage (i.e

AW: Debug info file for log4net release

2015-03-05 Thread Dominik Psenner
I’m taking this to log4net-dev since this goes well beyond the usage of log4net. The pdb’s are not included because they are not required in a production release and were never included in a release so far because most users do not need them at all but could get confused with these files.

AW: AppenderSkeletion lock in DoAppend

2015-03-05 Thread Dominik Psenner
about IFilter.Decide? Should I assume it is not threadsafe? Gert On 4 March 2015 at 16:51, Dominik Psenner dpsen...@gmail.com mailto:dpsen...@gmail.com wrote: A log event might be badly programmed and recursive by definition. Think of two objects that try each to log while trying

AW: 64bit problem?

2015-02-26 Thread Dominik Psenner
To be honest, the error message is rather cryptic to me. What I know is that log4net is not compiled against a specific architecture. If the targeted .NET framework is installed it should work. Have you checked that? Von: thiemo.kell...@bfs.admin.ch [mailto:thiemo.kell...@bfs.admin.ch]

Re: unintended usage of the same configuration file

2015-10-11 Thread Dominik Psenner
The concept behind how web applications work makes it hard to use file appenders. A web application should not access a filesystem directly and punching holes into permissions may not be advisable. If i had to work out a web app i would log to the database that the web application will require

Re: Why is log4net not more similar to log4j(2)?

2015-10-07 Thread Dominik Psenner
I think Piers wanted to know what differences between log4j and log4net caused you to start this thread. Cheers On 2015-10-06 19:39, Nicholas Duane wrote: I'm not aware of all the differences, though I am the one that started this thread. From what I've been told, log4net was a port of log4j

Re: unintended usage of the same configuration file

2015-10-13 Thread Dominik Psenner
rmissions’. Finally, as best I can tell, none of this is relevant to the OP’s actual issue, which would be just the same whether he was logging to file or to database, because it’s a /configuration /issue. *From: *Dominik Psenner *Sent: *Sunday, 11 October 2015 2:35 PM *To:

Re: unintended usage of the same configuration file

2015-10-13 Thread Dominik Psenner
y entails ‘punching holes in permissions’. Finally, as best I can tell, none of this is relevant to the OP’s actual issue, which would be just the same whether he was logging to file or to database, because it’s a /configuration /issue. *From: *Dominik Psenner *Sent: *Sunday, 1

Re: Why is log4net not more similar to log4j(2)?

2015-09-18 Thread Dominik Psenner
lease come over and join. > > > > [1] thread starting with > http://mail-archives.apache.org/mod_mbox/logging-log4net-dev/201508.mbox/%3C03be01d0da4f%24a85aaa10%24f90ffe30%24%40apache.org%3E > <http://mail-archives.apache.org/mod_mbox/logging-log4net-dev/201508.mbox/%3c03be01d0da4f$a85aaa10$f90ffe30$%40apache.org%3e> > > > > Stefan > > > > - > > To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org > > For additional commands, e-mail: log4j-user-h...@logging.apache.org > > > > -- Dominik Psenner

RE: Why is log4net not more similar to log4j(2)?

2015-09-18 Thread Dominik Psenner
Given that both c# and java are very similar in both syntax and interpreter that runs the bytecode, users of log4j can expect a very steep learning curve when starting with log4net. Despite that log4net is based on log4j and thus may lack some things found in log4j2. These missing things and the

Re: Rolling File Operation : Failing with Source does not exist

2016-03-14 Thread Dominik Psenner
Hi, which exact log4net version did cause this issue? log4net older than "last 3 years or so" leaves huge room for guessing. :-) Cheers On 2016-03-14 13:01, Kinnar wrote: Hi All, We are using log4net in our multi threaded windows service since last 3 years or so. We have recently

Re: Rolling File Operation : Failing with Source does not exist

2016-03-18 Thread Dominik Psenner
You're welcome! Happy hacking, Cheers On 2016-03-18 09:14, Kinnar wrote: Hi Dominik, Thanks for your updates. We will try out and let you know. Thanks for your directions. Regards, Kinnar -- View this message in context:

Re: Rolling File Operation : Failing with Source does not exist

2016-03-19 Thread Dominik Psenner
s per other posts in > same forum. > > > > > > -- > View this message in context: > http://apache-logging.6191.n7.nabble.com/Rolling-File-Operation-Failing-with-Source-does-not-exist-tp62802p62843.html > Sent from the Log4net - Users mailing list archive at Nabble.com. > -- Dominik Psenner

Re: Rolling File Operation : Failing with Source does not exist

2016-03-19 Thread Dominik Psenner
>type="log4net.Appender.RollingFileAppender+UniversalDateTime" /> > > > Thanks in advance. > > Kinnar > > > > -- > View this message in context: > http://apache-logging.6191.n7.nabble.com/Rolling-File-Operation-Failing-with-Source-does-not-exist-tp62802p62877.html > Sent from the Log4net - Users mailing list archive at Nabble.com. > -- Dominik Psenner

Re: Performance of PatternLayout

2017-02-07 Thread Dominik Psenner
I dont have the issue number at hand, but this story sounds familiar and there should be one filed on jira. If you have valuable information to add, (ideally a patch) please use the search function to find the issue. On 7 Feb 2017 9:02 a.m., "Martin Kozubek" wrote: > Hello, > >

Re: Apache log4net Needs Help

2016-09-08 Thread Dominik Psenner
On 2016-09-08 06:05, Stefan Bodewig wrote: Hi Justin On 2016-09-08, Justin Taylor wrote: I pulled down the source. It builds fine but the unit tests fail (log4net.vs2012.sln). Is there some setup/prerequisites I've overlooked? Currently the official build system is the Nant build. I

Re: Apache log4net Needs Help

2016-09-20 Thread Dominik Psenner
ve on! >> We really need more people who want to shape the future of log4net at >> the Apache Software Foundation. >> In all the time since log4net has been started by Nicko Cadell more >> than ten years ago, there have never been more than two or three >> people regularl

Re: Apache log4net Needs Help

2016-10-03 Thread Dominik Psenner
oundation. >> In all the time since log4net has been started by Nicko Cadell more >> than ten years ago, there have never been more than two or three >> people regularly contributing to it. As is normal in open source >> projects people have come and gone when their interests or just

Re: Apache log4net Needs Help

2016-11-05 Thread Dominik Psenner
ybody considers their issues the most important ones. > I tend to prioritize recent reports because the reporters of those old issues most likely have found a workaround or moved to another logging framework. Those issues are most likely to be closed because they are not reproducable. -- Dominik Psenner

Re: Injecting properties into LoggingEvent

2016-10-22 Thread Dominik Psenner
What I am proposing here are a mere ideas that will need further investigation. I have not tried any of these ideas. You will have to prioritize these ideas based on your requirements. A. Implement an extension class for the ILog interface B. Implement a custom ILog interface implementation and a

Re: Injecting properties into LoggingEvent

2016-10-23 Thread Dominik Psenner
e event. > However I'm trying to move away from that as it was point out that our > events don't fit well within the level gradient. So the new code for > logging a compliance event does not use that level. Both the compliance > and business event would be logged at the Emergenc

Re: Injecting properties into LoggingEvent

2016-10-23 Thread Dominik Psenner
ased on the level, > and I would like to do that without the user having to do anything, other > than maybe including some config code which would allow me to inject my > code into the equation. > > > Thanks, > > Nick > > -- > *From:* Domini

Re: Injecting properties into LoggingEvent

2016-10-24 Thread Dominik Psenner
on for this. You could > imagine that the LogManager could expose a set of events and allow plugging > in event sinks via configuration. This would allow me to write an event > sink and plug it into the system via the configuration. > > > Thanks, > > Nick > >

Re: Injecting properties into LoggingEvent

2016-10-24 Thread Dominik Psenner
Yet another possible solution to your problem could be to do something like: https://www.loggly.com/blog/why-json-is-the-best-application-log-format-and-how-to-switch/ On 2016-10-24 07:39, Dominik Psenner wrote: Ps: this might also something that you should look at. http://stackoverflow.com

Re: Level.All

2016-11-25 Thread Dominik Psenner
Level.Off = int.MaxValueLevel.Off + 1 On 2016-11-25 00:12, Piers Williams wrote: All is not something you would log at, it's something to use as a threshold for a logger that should log everything. Because it's lower than all your message logging levels, they all get logged. On 21 Oct

Re: Level.All

2016-11-25 Thread Dominik Psenner
Ops, that earlier mail went out too early. Sorry for the noise. ;-) Level.Off = int.MaxValue Level.All = Level.Off + 1 This implies that: Level.All = int.MinValue which is correct. You should not log events with Level.All or Level.Off. There are so many numbers in between int.MinValue and

Re: Issue with Custom Appender

2016-11-04 Thread Dominik Psenner
Hi Dave, would you please send us a the complete log4net internal logs including debug logs? Anyway it smells like an issue with incompatible binaries. You could check if both the log4net assembly that your custom appender was linked against and the log4net assembly that your application

Re: Issue with Custom Appender

2016-11-04 Thread Dominik Psenner
Glad you were able to sort this out! Cheers On 2016-11-04 14:32, DaveS wrote: Solved. I had a reference to version 1.2.10 which was causing this version to be loaded from the GAC. -- View this message in context:

Re: IIS Deadlocks happening all the sudden after years of running with no issues

2017-05-22 Thread Dominik Psenner
her diagnosing it would be appreciated. Was thinking > that maybe I would have enabled log4net debugging? > That's a great starting point. Maybe something fishy jumps out that makes it easier. You could further investigate the behavior of your web application when the dead lock happened. Please note also that 1.2.11 is from 2011 and rather old. Can you give a newer log4net version a shot? Cheers -- Dominik Psenner

Re: IIS Deadlocks happening all the sudden after years of running with no issues

2017-05-22 Thread Dominik Psenner
2017-05-22 23:54 GMT+02:00 Jim Scott <jsc...@infoconex.com>: > > > *From:* Dominik Psenner > *Sent:* Monday, May 22, 2017 1:27 PM > > > >> >> Please note that it is known that an application can also cause >> log4net to deadlock [3]. >> >&

Re: IIS Deadlocks happening all the sudden after years of running with no issues

2017-05-22 Thread Dominik Psenner
Hi Jim, please don't expect a sensible response within hours, especially with such a complex problem. :-) At first sight, if it did run for over two years and suddenly keeps crashing on a daily basis it is very unlikely that something that was not modified is the actual culprit. Did any

Fwd: Moving log4net-logviewer to apache

2017-09-09 Thread Dominik Psenner
Hi fellows! This is a call for opinions. What does the community think should happen? Are there people out there who use log4net-logviewer or any of its binaries? Cheers, Dominik On 6 Sep 2017 3:08 p.m., "Oskar Gewalli" <gewa...@gmail.com> wrote: > On 6 Sep 2017, at 15:

Re: Log4Net v2.0.8 - SMTP appender not relaying emails on Windows Server 2003

2017-11-14 Thread Dominik Psenner
s was introduced in framework 4.5. ( https://msdn.microsoft.com/en-us/library/system.security. claims.claimsidentity.aspx). Why is the log4net dll referencing this class? [image: Inline image] Thanks and Regards Mohkam Singh ------ *From:* Dominik Psenner <dpsen...@gmail

Re: Not included License.txt for log4net.dll

2017-11-18 Thread Dominik Psenner
://www.post.japanpost.jp/yu-packprint-r/member/download/sqlinstall/ > YprSQL20170908_dotnetfxDL.zip > > > > Home page(In English): > > https://www.post.japanpost.jp/index_en.html > > > -- Dominik Psenner

Re: Log4Net v2.0.8 - SMTP appender not relaying emails on Windows Server 2003

2017-11-12 Thread Dominik Psenner
Googling yields this: https://social.msdn.microsoft.com/Forums/en-US/378905e5-297b-4235-a170-f519d77f02b9/iis7-web-app-error-could-not-load-type-systemsecurityclaimsclaimsidentity-from-assembly?forum=csharpgeneral On 12 Nov 2017 11:36 a.m., "Mohkam Singh Sawhney" wrote: >

Re: add to log4net-user and log4net-dev mailing lists

2019-09-02 Thread Dominik Psenner
Hi, The mailing list bot allows you to subscribe and unsubscribe by yourself, see https://logging.apache.org/log4net/mail-lists.html for further information. Shortly, subscription is as easy as sending an empty email to dev-subscr...@logging.apache.org. Cheers -- Sent from my phone. Typos are a

Re: Next Release of Log4Net

2019-11-29 Thread Dominik Psenner
There is nobody working neither on a release, nore on netstandard 2.0 support. Get involved! Contributions of any form are welcome! -- Sent from my phone. Typos are a kind gift to anyone who happens to find them. On Mon, Nov 18, 2019, 17:16 Waeckers, Jan-Malte < jan-malte.waeck...@homag.com>

Re: Next Release of Log4Net

2019-12-01 Thread Dominik Psenner
. 2019 a las 14:35, Dominik Psenner () > escribió: > >> There is nobody working neither on a release, nore on netstandard 2.0 >> support. Get involved! Contributions of any form are welcome! >> -- >> Sent from my phone. Typos are a kind gift to anyone who happens to fi

Re: Old Key support for. 2.0.12

2021-08-28 Thread Dominik Psenner
Hi, as far as I know there is no maintainer that could create binaries signes with the old key. Warm regards, Dominik -- Sent from my phone. Typos are a kind gift to anyone who happens to find them. On Wed, Jul 14, 2021, 11:56 Rasa Mazutiene wrote: > Hi, > would it be possible to release a

  1   2   >