MDCOrderFilter.java gives Eclipse errors in trunk

2010-12-29 Thread Thorbjørn Ravn Andersen
r? Thanks, -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!" - To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Re: DO NOT REPLY [Bug 49354] New: XMLLayout writes illegal characters to XML file

2010-07-08 Thread Thorbjørn Ravn Andersen
unicode characters, etc). It is not hard. I've done the same with the similar class in logback. -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!" - To unsubscribe, e-mail: log4j-dev-unsubscr...@logging

Re: Improving log4j so it can easily be used with servlet logging

2010-06-03 Thread Thorbjørn Ravn Andersen
n interesting approach and it might be feasible to do some voodoo in the actual appender. -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!" - To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org

Re: Improving log4j so it can easily be used with servlet logging

2010-05-31 Thread Thorbjørn Ravn Andersen
. The latter I cannot do right now. -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!" - To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Re: Improving log4j so it can easily be used with servlet logging

2010-05-31 Thread Thorbjørn Ravn Andersen
you write some pseudocode showing what you mean? -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!" - To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Improving log4j so it can easily be used with servlet logging

2010-05-30 Thread Thorbjørn Ravn Andersen
What do you think? [1] http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/GenericServlet.html#log%28java.lang.String%29 [2] For backwards compatability instances of Class should be treated slightly different :) -- Thorbjørn Ravn Ander

Re: Future development of Log4J?

2010-05-30 Thread Thorbjørn Ravn Andersen
extra degree of flexibility which is nice to have. -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!" - To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Re: log4j 2.0 code review process

2010-05-24 Thread Thorbjørn Ravn Andersen
iance on a central server? This I would personally think is a good idea. There is no clear consensus on Stack Overflow on which one of bzr, git and hg to use, and I have no personal preference, except that good IDE support would be nice. -- Thorbjørn Ravn Andersen "...plus..

Re: A new thread for log4j 2.0 discussion (Was Re: svn commit: r943816 [1/9] - in /logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers: ./ log4j12-api/ log4j12-api/src/ log4j12-api/src/main/ log4j12

2010-05-22 Thread Thorbjørn Ravn Andersen
framework? Also, I have had an issue where the I wanted the toString() method on the object to be logged to be delayed as much as possible (somewhat helped with the {}-construct in slf4j). This might be doable with a specific log interface. -- Thorbjørn Ravn Andersen "...plus... Tubular

Re: [jira] Commented: (LOG4J2-33) Support Annotations

2010-05-14 Thread Thorbjørn Ravn Andersen
anything to happen. I am cracking the nut of how to get "@Inject Logger log" to work properly with slf4j in a JEE 6 setting - I believe it is a case of a correctly placed @Producer. Is this similar to what you want to solve? -- Thorbjørn Ravn Andersen "...plus..

Re: svn commit: r943816 [1/9] - in /logging/log4j/branches/BRANCH_2_0_EXPERIMENTAL/rgoers: ./ log4j12-api/ log4j12-api/src/ log4j12-api/src/main/ log4j12-api/src/main/java/ log4j12-api/src/main/java/o

2010-05-14 Thread Thorbjørn Ravn Andersen
that the logging framework will not have to. 7, All internal components use the logger API for status reporting. A specific StatusLogger provides the implementation. I like that. It is nice that you can use logging even if you are coding stuff inside a logger. -- Thorbjørn Ravn

Re: svn commit: r909868 - in /logging/log4j/trunk: src/changes/ src/main/java/org/apache/log4j/ src/main/java/org/apache/log4j/helpers/ tests/src/java/org/apache/log4j/ tests/witness/

2010-02-14 Thread Thorbjørn Ravn Andersen
he code base around the method in question basically has the same heritage - you might even call it a backport from log4j version 2 to log4j version 1.2, it would to me seem quite reasonable to expect that the resulting code would be similar. -- Thorbjørn Ravn An

Re: Final bug call for log4j 1.2.16

2009-10-12 Thread Thorbjørn Ravn Andersen
ding releases is probably the best way to ensure reproducability. I'll have a look at the bug reports... -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!" - To unsubscribe, e-mail: log4j-dev-unsubscr...@lo

Re: [PROPOSAL] Implementing the SLF4J API directly

2008-12-15 Thread Thorbjørn Ravn Andersen
efore responding to the mail, and thought I missed something in the process. Thank you. I am not doubting, just not understanding, there is a difference O:) -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!" -

Re: [PROPOSAL] Implementing the SLF4J API directly

2008-12-15 Thread Thorbjørn Ravn Andersen
mechanism should be used to optimize - a weak reference cache of the MessageFormatter with the format string as key - but if the simpler approach is faster I would personally go with that. -- Thorbjørn Ravn Andersen "...plus..

Re: [PROPOSAL] Implementing the SLF4J API directly

2008-12-12 Thread Thorbjørn Ravn Andersen
? -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!" - To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Re: [PROPOSAL] Implementing the SLF4J API directly

2008-12-09 Thread Thorbjørn Ravn Andersen
ach is chosen as it will apply to all events actually processed. Would lifting the slf4j code into log4j be an option - I believe that the license allows it. -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!" -

Re: [PROPOSAL] Implementing the SLF4J API directly

2008-12-08 Thread Thorbjørn Ravn Andersen
Ceki Gulcu skrev den 08-12-2008 12:41: Thorbjørn Ravn Andersen wrote: I believe that Curt Arnold may be somewhat right in that this is a matter of Apache endorsement. This is purely guesswork. I still think that log4j should have a "Best practices" list, where the "use

Re: [PROPOSAL] Implementing the SLF4J API directly

2008-12-08 Thread Thorbjørn Ravn Andersen
Jacob Kjome skrev den 07-12-2008 06:04: On 12/6/2008 6:27 AM, Thorbjørn Ravn Andersen wrote: I believe that the positive in decoupling the logging implementation from the application will vastly overshadow any inconvinience in this regard. Most if not all of the work has been done in the

Re: [PROPOSAL] Implementing the SLF4J API directly

2008-12-06 Thread Thorbjørn Ravn Andersen
s is a real issue encountered by real programmers. Personally I think that the least complex solution would be either to accept a donation of the log4j->slf4j bridge in the standard log4j distribution or go the whole way with Cekis suggestion. -- Thorbjørn Ravn An

Re: [PROPOSAL] Implementing the SLF4J API directly

2008-12-06 Thread Thorbjørn Ravn Andersen
e you *ABSOLUTELY* certain you want to bring in politics in this technical issue? In my opinion it will only mudden the waters! -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!" - To unsubscribe, e-mail: [EMAIL

Re: [PROPOSAL] Implementing the SLF4J API directly

2008-12-04 Thread Thorbjørn Ravn Andersen
tend to confuse the two. MDC could be "Log ThreadMap"? -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PATCH] when showing a stack trace - include the relative package versions and optional jar name to aid debugging

2008-09-02 Thread Thorbjørn Ravn Andersen
James.Strachan skrev den 01-09-2008 14:51: Thoughts? I really like this :) Excellent! How did you get the idea? -- Thorbjørn Ravn Andersen "... plus... Tubular Bells!" - To unsubscribe, e-ma

Re: log4j 1.2.16 release plan

2008-08-13 Thread Thorbjørn Ravn Andersen
Shouldn't that be ok? I'll have a look at your issues. -- Thorbjørn Ravn Andersen "... plus... Tubular Bells!" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: plain log4j trunk - "mvn install" fails

2008-08-06 Thread Thorbjørn Ravn Andersen
ost of the artifacts was loaded before the final build. -- Thorbjørn Ravn Andersen "... plus... Tubular Bells!" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: plain log4j trunk - "mvn install" fails

2008-08-06 Thread Thorbjørn Ravn Andersen
Maven, pulled out the log4j-trunk and ran "mvn install". The only thing I had to do was to delete the jmx reference in pom.xml as this is present in the JDK. Then it built and installed without a hinch (except it took 11 minutes). Glad the error was in my end :) -- Thorbjør

Re: sort-of-back-in-action

2008-08-05 Thread Thorbjørn Ravn Andersen
plicate and move the blockers :) -- Thorbjørn Ravn Andersen "... plus... Tubular Bells!" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: svn commit: r682879 - in /logging/log4j/trunk: build.properties.sample build.xml pom.xml src/changes/changes.xml src/main/java/org/apache/log4j/jmx/Agent.java

2008-08-05 Thread Thorbjørn Ravn Andersen
It is worse, it needs a 1.4 runtime :( I solved this at work by writing a RootCauseException which behaves like RuntimeException with the extra argument, and then use that for these kind of things. Might be the easiest solution here. -- Thorbjørn Ravn Andersen "... p

Re: svn commit: r682919 - /logging/log4j/trunk/INSTALL

2008-08-05 Thread Thorbjørn Ravn Andersen
ed since their licenses do Great :) Perhaps I was not clear enough. If compiling with a JDK higher than 1.5 the jmx-1_2_1-ri.zip is not necessary either. -- Thorbjørn Ravn Andersen "... plus... Tubular Bells!"

Re: DO NOT REPLY [Bug 43204] Contribution Java 5+ Improvements: String formatter, stack trace inspection

2008-08-04 Thread Thorbjørn Ravn Andersen
to do exactly that. I suggest that instead of posting the ideas here where they will probably be forgotten that you add them as Jira issues. Then go ahead and start figuring out how to implement them. I know. Perhaps it is just a matter of habit, but I like to discuss things before creating the iss

Re: DO NOT REPLY [Bug 43204] Contribution Java 5+ Improvements: String formatter, stack trace inspection

2008-08-04 Thread Thorbjørn Ravn Andersen
l to create a specification of requirements to be able to discuss what work should be done, and to determine when the next version is ready :) Otherwise it might be hard to collaborate on getting there. Just my 2 cents... -- Thorbjørn

plain log4j trunk - "mvn install" fails

2008-08-03 Thread Thorbjørn Ravn Andersen
P). Is log4j being built by Gump? -- Thorbjørn Ravn Andersen "... plus... Tubular Bells!" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DO NOT REPLY [Bug 43204] Contribution Java 5+ Improvements: String formatter, stack trace inspection

2008-08-03 Thread Thorbjørn Ravn Andersen
been setup to capture all the work for 2.0 at https://issues.apache.org/jira/browse/LOG4J2. I am aware of that. I expect to start doing stuff in the branch within the next few weeks. Interesting. What are you planning to do and what are your goals? -- Thorbjørn Ravn Andersen

Re: DO NOT REPLY [Bug 43204] Contribution Java 5+ Improvements: String formatter, stack trace inspection

2008-08-03 Thread Thorbjørn Ravn Andersen
oad map. -- Thorbjørn Ravn Andersen "... plus... Tubular Bells!" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DO NOT REPLY [Bug 43204] Contribution Java 5+ Improvements: String formatter, stack trace inspection

2008-08-03 Thread Thorbjørn Ravn Andersen
rather strong restrictions on what can be changed. -- Thorbjørn Ravn Andersen "... plus... Tubular Bells!" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DO NOT REPLY [Bug 45493] New: Log4j file getting overwritten

2008-07-29 Thread Thorbjørn Ravn Andersen
[EMAIL PROTECTED] skrev den 28-07-2008 23:01: residing in a NAS (common shared) drive and all the managed servers point to the same file while logging information from application So you are basically writing in the same file from several places? This is bound to give that kind of problems

Re: static logger

2008-07-05 Thread Thorbjørn Ravn Andersen
Java House skrev den 05-07-2008 18:10: O/H Thorbjørn Ravn Andersen έγραψε: Java House skrev den 05-07-2008 16:27: How bad is it, to NOT use static logger; By having the logger variable static it means it is only initialized once when the class is loaded where as a non-static logger is

Re: static logger

2008-07-05 Thread Thorbjørn Ravn Andersen
Java House skrev den 05-07-2008 16:27: How bad is it, to NOT use static logger; By having the logger variable static it means it is only initialized once when the class is loaded where as a non-static logger is initialized each time you create a new object from the class. If you do this a

Re: Receivers artifacts and Chainsaw

2008-07-04 Thread Thorbjørn Ravn Andersen
Paul Smith skrev den 04-07-2008 02:02: I think that there should be a core log4j which should cover those classes described in the printed manual, and that all the other stuff which has come up since then should go in one or more "extras" packages which may have a different release cycle t

Re: Receivers artifacts and Chainsaw

2008-07-03 Thread Thorbjørn Ravn Andersen
Paul Smith skrev den 04-07-2008 00:46: One of the last tasks to complete before a potential 'release' to the Webstart version of Chainsaw is building a custom Receiver artifact output that does not include the JMSReceiver & DBReceiver, both of which require dependent jars that we obviously can