Re: [slf4j-user] Lilith 0.9.37 has been released!

2009-11-12 Thread Ceki Gulcu
Congrats! Joern Huxhorn wrote: The changes in this release focus on suggestions I received from users. Some have the topic of increasing the usable screen-space of the application (hiding of statusbar, toolbar, getting rid of the tab-bar in case of an unfiltered view) while others have been i

Re: [slf4j-user] Still getting log output when using slf4j-nop.jar

2009-11-11 Thread Ceki Gulcu
Hi Bart, Well, when slf4j-api binds with a logging framework, it does so completely. So either slf4j-nop is bound and you get no logs generated by slf4j or slf4j is bound to another framework in which case you would get many different logs from various sources. It really looks like the "Fatal err

Re: [slf4j-user] Mix final non-static logger with a kind of SingletonLoggerFactory

2009-11-02 Thread Ceki Gulcu
Hello Florian, You probably don't have 10'000 classes but 10'000 *instances* of a class or a few classes. Anyway, you don't have to through a factory because the SLF4J factory will always return the same instance. Do read [1] for more info on this topic. [1] http://logback.qos.ch/manual/lo

[slf4j-user] Release of SLF4J 1.5.9.RC1

2009-10-29 Thread Ceki Gulcu
October 29th, 2009 - Release of SLF4J 1.5.9.RC1 Hello all, I am happy to announce the immediate availability of SLF4J version 1.5.9.RC1, consisting of bug fixes and minor enhancements. It is totally compatible with SLF4J version 1.5.8. However, the slf4j-ext module ships with a new package calle

Re: [slf4j-user] SLF4J + Logback + jcl-over-slf4j + Spring Framework = TONS of DEBUG logging

2009-10-26 Thread Ceki Gulcu
Hello Dana, It looks like a logback-classic configuration issue. Try in order to filter out messages of level INFO generated by spring. HTH, Dana P'Simer wrote: I am using springframework in an application I am writing and I want to use SLF4J for my logging. I noticed that Spring's logging

Re: [slf4j-user] SLF4J on the Google Android Platform

2009-10-23 Thread Ceki Gulcu
Thorsten Möller wrote: On Thursday, October 22, 2009 7:32 PM [GMT+1=CET], Ceki Gulcu wrote (with possible deletions): module so that it copies the source files it needs from the slf4j-api module. This is pretty easy to do with an Ant target which you can then add to the Maven build life

Re: [slf4j-user] SLF4J on the Google Android Platform

2009-10-22 Thread Ceki Gulcu
Thorsten Möller wrote: On Thursday, October 22, 2009 5:53 PM [GMT+1=CET], Ceki Gulcu wrote (with possible deletions): I think git supports Unix symbolic links but not all operating systems support sym links which makes sym-link in git pointless. I am not aware of a git equivalent for

Re: [slf4j-user] SLF4J on the Google Android Platform

2009-10-22 Thread Ceki Gulcu
name. Thorsten Möller wrote: On Thursday, October 22, 2009 4:46 PM [GMT+1=CET], Ceki Gulcu wrote (with possible deletions): Sounds great. The easiest approach to integrate your contributions would be to fork slf4j on github and let us know when you are done so that we can study the results. Ok

Re: [slf4j-user] SLF4J on the Google Android Platform

2009-10-22 Thread Ceki Gulcu
Hello Thorsten, Sounds great. The easiest approach to integrate your contributions would be to fork slf4j on github and let us know when you are done so that we can study the results. To fork SLF4J, create a user id on github and then go to http://github.com/ceki/slf4j and click on fork. Yo

Re: [slf4j-user] compiling slfj4 -Test org.slf4j.VersionMi, smatchTest failed

2009-10-21 Thread Ceki Gulcu
Hello, What is your set up? Where do you get the SLF4J sources? Is it from git? From an slf4j distribution? From your message, it seems that you get the sources from the 1.5.8 distribution. If so, how are you trying to compile slf4j? You have mentioned ant but not Maven. Are you using Maven

Re: [slf4j-user] How to turn off localization

2009-10-19 Thread Ceki Gulcu
Hi Esteban, SFL4J does not know about jdk14 translations. It delegates all work to to jdk14 logging because you have placed slf4j-jdk14.jar on the class path. You would need to tweak jdk14 logging, SLF4J cannot help you in this regard. Cheers, Esteban Ignacio Masoero wrote: Hi: I'm using

Re: [slf4j-user] SLF4J w/Log4J and Axis2 - No Log File is created

2009-09-15 Thread Ceki Gulcu
ge and any attachments. -Original Message- From: user-boun...@slf4j.org [mailto:user-boun...@slf4j.org] On Behalf Of Ceki Gulcu Sent: Tuesday, September 15, 2009 5:12 PM To: User list for the slf4j project Subject: Re: [slf4j-user] SLF4J w/Log4J and Axis2 - No Log File is created Does rampart

Re: [slf4j-user] SLF4J w/Log4J and Axis2 - No Log File is created

2009-09-15 Thread Ceki Gulcu
-boun...@slf4j.org] On Behalf Of Ceki Gulcu Sent: Tuesday, September 15, 2009 4:14 PM To: User list for the slf4j project Subject: Re: [slf4j-user] SLF4J w/Log4J and Axis2 - No Log File is created Hello Scott, From what you write, it looks like you are using the JDK binding (slf4j-jdk14.jar) in

Re: [slf4j-user] SLF4J w/Log4J and Axis2 - No Log File is created

2009-09-15 Thread Ceki Gulcu
Hello Scott, From what you write, it looks like you are using the JDK binding (slf4j-jdk14.jar) instead of log4j (slf4j-log4j12.jar). See also http://slf4j.org/manual.html Scott Selvia wrote: I have changed my code from Log4J logging to SLF4J and I now my log files are no longer written to d

Re: [slf4j-user] Release of SLF4J version 1.5.9-RC0

2009-09-05 Thread Ceki Gulcu
Two bits of information should answer your question. 1) A LocLogger *is* a Logger and can be used as such. 2) When you write Logger lx = LoggerFactory.getLogger("X"); LocLogger llx = llFactory.getLocLogger("X"); then "llx" is actually a wrapper around that very "lx". (llx wraps that very

Re: [slf4j-user] Release of SLF4J version 1.5.9-RC0

2009-09-05 Thread Ceki Gulcu
ekkehard wrote: CAL10N sounds great... I can use it together with parameterized messages like 'normal' logging with SLF4J ? Yes, you can, locLogger.info(MY_ENUM_KEY, getName(), getXYZ()) where the value of MY_ENUM_KEY is "This is a log message from {} using {} and so on" For translated

[slf4j-user] Lost internet connectivity

2009-09-05 Thread Ceki Gulcu
Hello all, There was a wiring problem in our building (qos.ch) where cal10n, logback and slf4j projects are hosted. As consequence, our various web-sites were unreachable for about 12 hours. The issue was fixed just a few minutes ago with the help of our internet provider. We are currently wor

[slf4j-user] Release of SLF4J version 1.5.9-RC0

2009-09-04 Thread Ceki Gulcu
September 4th, 2009 - Release of SLF4J 1.5.9-RC0 Hello all, I am proud to announce the immediate availability of SLF4J version 1.5.9-RC), consisting of bug fixes and minor enhancements. It is totally compatible with SLF4J version 1.5.8. However, the slf4j-ext module ships with a new package cal

Re: [slf4j-user] ehcache switched from commons to j.u.l and I see no log files

2009-08-24 Thread Ceki Gulcu
John Cherouvim wrote: Hello Ceki The code that changed is my dependency's (ehcache) and not my application code. I just droped the jar into WEB-INF/lib Is it possible to make logging work again without having to touch any code but only via configuration file changes? Have a look at [1, 2].

Re: [slf4j-user] ehcache switched from commons to j.u.l and I see no log files

2009-08-24 Thread Ceki Gulcu
How are you installing jul-to-slf4j? See [1]. You just need to invoke SLF4JBridgeHandler.install(). Note that this approach is OK only if few messages pass through jul to SLF4J as the translation from jul to SLF4J is a costly operation. [1] http://www.slf4j.org/api/org/slf4j/bridge/SLF4JBrid

Re: [slf4j-user] SLF4J and logback presentation

2009-08-11 Thread Ceki Gulcu
ekkehard wrote: Ceki Gulcu schrieb: Joern Huxhorn wrote: You should really twitter this ;) Followed your suggestion. Thanks. I like to retweet what's your Twitter address ? Cool. My twitter id is 'ceki'. -- Ceki Gülcü Logback: The reliable, generic, fast and flexible lo

Re: [slf4j-user] SLF4J and logback presentation

2009-08-11 Thread Ceki Gulcu
Joern Huxhorn wrote: You should really twitter this ;) Followed your suggestion. Thanks. On 10.08.2009, at 19:37, Ceki Gulcu wrote: Hello all, If you do not fear being bored out of your skull, you can listen to my Jazoon 2009 presentation on SLF4J and logback for about 45 minutes

[slf4j-user] SLF4J and logback presentation

2009-08-10 Thread Ceki Gulcu
Hello all, If you do not fear being bored out of your skull, you can listen to my Jazoon 2009 presentation on SLF4J and logback for about 45 minutes, http://beta.parleys.com/#state=state_player&id=357 You've been warned, -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging

Re: [slf4j-user] JUL to LOG4J

2009-07-27 Thread Ceki Gulcu
J G wrote: > I am trying to use a 3rd party framework(solr) and have its logging > rerouted to log4j and stored in my log4j.xml file. I am running tomcat > 5.5 and have enabled tomcat route all of its logging to log4j which is > working fine. However, I can't get solr(which utilizes > java.utl.l

Re: [slf4j-user] SLF4J incorrectly determines that Class path contains multiple SLF4J bindings

2009-07-23 Thread Ceki Gulcu
Hello Ari, It's a known problem with Weblogic. Please see: http://bugzilla.slf4j.org/show_bug.cgi?id=138 Since only Weblogic seems to suffer from this issue, I am leaving it open for the time being. BR Ari Meyer wrote: Hi, I get this warning in my Eclipse console (using WTP to connect to

Re: [slf4j-user] Correct usage of Marker interfaces

2009-07-14 Thread Ceki Gulcu
Jeffrey Sinclair wrote: slf4j-user, I'm looking to use Markers to supplement the information that is being logged. Most of the examples I've seen have fixed markers which don't contain any direct context information, instead they are tags for doing a fixed enrichment of the log message at the

Re: [slf4j-user] log4j-over-slf4j Category does not have addAppender method?

2009-07-10 Thread Ceki Gulcu
Hello Paul, Contrary to jcl-over-slf4j which is a complete replacement for commons-logging.jar, log4j-over-slf4j is not a complete replacement for log4j.jar. log4j-over-slf4j will work as long as Logger/Category, and Level/Priority classes are invoked. You cannot invoke or refer to other classe

Re: [slf4j-user] Why is org.slf4j.NDC in the JavaDocs?

2009-07-10 Thread Ceki Gulcu
scott.ta...@fuse.net wrote: Greetings, NDC in log4j is working great for me. I really don't want this thread to degrade in to why MDC may be better; I'd like to have this question answered first. I was very happy to see it in the slf4j JavaDocs: http://www.slf4j.org/api/org/slf4j/NDC.html

Re: [slf4j-user] Problem with SLF4J and Android

2009-07-03 Thread Ceki Gulcu
want me to try? Am 02.07.2009 um 19:47 schrieb Ceki Gulcu: I went and downloaded openrdf-sesame-2.3-pr1-sdk.zip. I could find, in addition to slf4j-api.jar, both slf4j-jdk14.jar and logback-*.jar. Would it be possible for you to try running a small test application under Android? openrdf

Re: [slf4j-user] Problem with SLF4J and Android

2009-07-02 Thread Ceki Gulcu
"slf4j-api-1.5.8.jar and slf4j-jdk14-1.5.8.jar" of course. It shouldn't have anything to do with differing versions then, right? Max Am 02.07.2009 um 18:47 schrieb Ceki Gulcu: Hello Max, Which version of slf4j-api is on your class path? "I'm using slf4j-jdk14-1.5.8.

Re: [slf4j-user] Problem with SLF4J and Android

2009-07-02 Thread Ceki Gulcu
Hello Max, Which version of slf4j-api is on your class path? "I'm using slf4j-jdk14-1.5.8.jar and slf4j-jdk14-1.5.8.jar" is not very clear. See also http://slf4j.org/faq.html#compatibility http://slf4j.org/faq.html#IllegalAccessError http://slf4j.org/manual.html BR Max Braun wrote: Hi

Re: [slf4j-user] Back in time logging

2009-06-26 Thread Ceki Gulcu
Hello Lorenzo, Chad is right, SLF4J is just an API. Logback is a better home for a contribution such as yours. By the way, at Jazoon 2009, I met Aaron Digulla who had an idea similar to yours. So, it's definitely a good idea that we will expand upon in logback. I invite you to post your contribut

Re: [slf4j-user] Passing logger config to slf4j API

2009-06-26 Thread Ceki Gulcu
Hello Thomas, Configuration is not part of SLF4J. As for the logback configuration, please see http://logback.qos.ch/manual/configuration.html HTH, Thomas Laubscher wrote: Hi I tried to migrate fom log4j to slf4j and logback. I used the migration tool, but this didn't change: 'PropertyCo

Re: [slf4j-user] 1.5.8 in maven central?

2009-06-18 Thread Ceki Gulcu
Hello, SLF4J 1.5.8 is already in Maven central. See http://repo1.maven.org/maven2/org/slf4j/slf4j-api/ http://mirrors.ibiblio.org/pub/mirrors/maven2/org/slf4j/slf4j-api/1.5.8/ BR Wim Deblauwe wrote: Hi, any plans to put version 1.5.8 (which is the latest according to http://www.slf4j.org/d

Re: [slf4j-user] How to debug with logger gets used?

2009-06-18 Thread Ceki Gulcu
Hello Wim, Glad to hear that you could debug the problem on your own. As for other options, I don't have a better proposal than excluding slf4j-nop. BR Wim Deblauwe wrote: I found the problem. It seems the only location you need to look is your classpath. Since I am using maven a simple 'mvn

Re: [slf4j-user] dependencies for log4j-over-slf4j version 1.5.7

2009-06-11 Thread Ceki Gulcu
Just released 1.5.8 fixing the problem. Ceki Gulcu wrote: Hello Jean-Luc, The dependency on slf4j-jdk14 is for testing purposes only. The test scope was accidentally omitted. Jean-Luc Geering wrote: Hi there, Why is there a new dependency from log4j-over-slf4j to slf4j-jdk14 (which is a

Re: [slf4j-user] dependencies for log4j-over-slf4j version 1.5.7

2009-06-11 Thread Ceki Gulcu
Hello Jean-Luc, The dependency on slf4j-jdk14 is for testing purposes only. The test scope was accidentally omitted. Jean-Luc Geering wrote: Hi there, Why is there a new dependency from log4j-over-slf4j to slf4j-jdk14 (which is a binding?). http://repo1.maven.org/maven2/org/slf4j/log4j-ove

[slf4j-user] Release of SLF4J version 1.5.7

2009-06-10 Thread Ceki Gulcu
June 10th, 2009 - Release of SLF4J 1.5.7 Hello all, I am happy to announce the immediate availability of SLF4J version 1.5.7, consisting of bug fixes and minor enhancements. It is totally compatible with SLF4J version 1.5.6. Please refer to the the news page for precise details. http://www.

Re: [slf4j-user] Do I need libraries???

2009-05-26 Thread Ceki Gulcu
Hello Katharina, The slf4j-jdk14-1.5.0.jar and slf4j-api-1.5.0.jar is sufficient to use the SLF4J API. From the ClassNotFoundException in your message, it seems like slf4j-api-1.5.0.jar is not found or is not part of your project. Is that possible? I would check and recheck that slf4j artifacts (

Re: [slf4j-user] logger.info("It took {%h hours %m minutes %s seconds}.", timeTakenInMilliseconds)

2009-05-26 Thread Ceki Gulcu
Hello Geoffrey, Geoffrey De Smet wrote: Hi, Is it possible to do something like this? int timeTakenInMilliseconds) = 3662000; logger.info("It took {hh:mm:ss} seconds", timeTakenInMilliseconds); which prints this to the log: "It took 1 hours 1 minutes 2 seconds." The idea is that the timeTak

Re: [slf4j-user] Use in WebSphere

2009-04-21 Thread Ceki Gulcu
Ben Tomasini wrote: As I have suggested the use of SJF4J to a WebSphere shop, a common question I get is, "If IBM screwed up commons logging for us, what will stop them from doing the same with SLF4J?". Is there anything inherent in the design of SJF4J that makes this less likely? SLF4J w

Re: [slf4j-user] [slf4j-dev] SLF4J documentation

2009-04-17 Thread Ceki Gulcu
It was actually Thorbjørn Ravn Andersen and not Ralph who started the work on the documentation. Sorry for the confusion. Ceki Gulcu wrote: Hello all, With impetus given by Ralph Goers, the SLF4J documentation has been simplified and improved. The updated documentation should be

[slf4j-user] SLF4J documentation

2009-04-17 Thread Ceki Gulcu
Hello all, With impetus given by Ralph Goers, the SLF4J documentation has been simplified and improved. The updated documentation should be especially helpful for new SLF4J users. If you find any part of the documentation unclear, please let us know. TIA, -- Ceki Gülcü Logback: The reliable

Re: [slf4j-user] [slf4j-dev] [POLL] Requiring JDK 1.5 for SLF4J

2009-03-31 Thread Ceki Gulcu
Hello Simon, Thank you for your detailed and informative response. Much appreciated. The Eclipse Equinox scenario you describe resembles my nightmare scenario whereby an application container requires an older JDK-1.3-compatible version of SLF4J and a hosted application requires a newer versi

Re: [slf4j-user] Log4j over SLF4J incorrect value for Source Class Name

2009-03-26 Thread Ceki Gulcu
Hello Marc, It's a rather surprising shortcoming (=bug) in log4j-over-slf4j. Please enter a bug report in http://bugzilla.slf4j.org/ so that the problem can be corrected in future releases. TIA, Marc Zampetti wrote: I'm using the log4j-over-slf4j to route apps that use log4j to JUL. The pr

[slf4j-user] [POLL] Requiring JDK 1.5 for SLF4J

2009-03-26 Thread Ceki Gulcu
Hello all, SLF4J users have been asking for varags support for a long time. See http://bugzilla.slf4j.org/show_bug.cgi?id=31 for more details. The plan is to add varags support in SLF4J version 1.6 to be released later this year, possibly in October 2009. The idea is extremely simple. We would r

Re: [slf4j-user] Redirecting Outputstream to the logger

2009-03-25 Thread Ceki Gulcu
Hello Erik, Thank you for posting an initial implementiation. However, the code is a contribution from Jim Moore to the log4j project. (You can find in log4j SVN under the contrib directory). Thus, it implicitly carries the the Apache Software License. Also note that Jim's code does not dea

Re: [slf4j-user] SLF4J implementation for Eclipse logging?

2009-03-25 Thread Ceki Gulcu
Hello Eric, Copy-paste from slf4j-simple should be fairly easy. Please holler if you run into difficulties. Eric Jain wrote: I'd like to have code that uses the SLF4J API to use the logging system built into Eclipse (when run in an Eclipse plug-in or an RCP application). Delegating logging to

Re: [slf4j-user] Redirecting Outputstream to the logger

2009-03-24 Thread Ceki Gulcu
Indeed. Could you please enter the bug in bugzilla.slf4j.org? I would then like to ask for volunteers to implement the redirection code using slf4j-api. The slf4j-ext module could be the initial home of the redirection code. Papick Garcia Taboada wrote: I thought that we would neet the implemen

Re: [slf4j-user] Redirecting Outputstream to the logger

2009-03-24 Thread Ceki Gulcu
lementation, no ? Maarten On Tue, Mar 24, 2009 at 7:56 PM, Ceki Gulcu wrote: I am curious about why you entered a logback-classic jira issue instead of entering a bugzilla bug report for slf4j at http://bugzilla.slf4j.org/ -- Ceki Gülcü Logback: The reliable, generic, fast and f

Re: [slf4j-user] Redirecting Outputstream to the logger

2009-03-24 Thread Ceki Gulcu
:31 schrieb Ceki Gulcu: Hello Papick, There is no such redirection. However, I think that it would be a fairly useful addition. Would you enter a bug report in bugzilla asking for this feature? BTW, getting such redirection right is much tougher than you might think. Papick Garcia Taboada

Re: [slf4j-user] Redirecting Outputstream to the logger

2009-03-24 Thread Ceki Gulcu
Hello Papick, There is no such redirection. However, I think that it would be a fairly useful addition. Would you enter a bug report in bugzilla asking for this feature? BTW, getting such redirection right is much tougher than you might think. Papick Garcia Taboada wrote: Hi, I have an API

Re: [slf4j-user] Logging to file with slf4j.Logger. Where do log file go?

2009-03-20 Thread Ceki Gulcu
Tom, It appears that you have misunderstood the purpose of SLF4J. If you place slf4j-jdk14-1.5.6.jar then slf4j-api will bind with java.util.logging. Logback will not be used. Only if you place logback-core.jar and logback-classic.jar on your class path (but not slf4j-jdk14-1.5.6.jar) will SLF4J

Re: [slf4j-user] Logging to file with slf4j.Logger. Where do log file go?

2009-03-19 Thread Ceki Gulcu
Hello Tom, The following mailing list archives which are all mentioned in http://slf4j.org/mailing-lists.html are searchable: http://news.gmane.org/gmane.comp.java.slf4j.user http://marc.theaimsgroup.com/?l=slf4j-user http://www.nabble.com/Slf4J---user-f13203.html http://www.mail-archive.com/u

Re: [slf4j-user] Grails (log4j) + ZK(jul) -> SLF4J with log4j

2009-03-05 Thread Ceki Gulcu
Madruga, Please have a look at the SLF4JBridgeHandler javadocs: http://slf4j.org/api/org/slf4j/bridge/SLF4JBridgeHandler.html HTH, madruga0315 wrote: Hello guys, Im in a project with grails with log4j and zk with jul. I want to make zk logs output through log4j So I putted the slf4j-log4j

Re: [slf4j-user] Compatibility List fpr Log4J ?

2009-02-13 Thread Ceki Gulcu
Hello Daniel, In short, SLF4J versions 1.5.1 and later support any log4j version labeled 1.2. Earlier SLF4J versions, that is SLF4J versions 1.4.0 to 1.5.0 require log4j 1.2.12 or later. I hope this answers your question, Daniel Breitner wrote: Hello everybody, we want to use SLF4J here i

Re: [slf4j-user] deadlock in slf4j-log4j12 ?

2009-02-10 Thread Ceki Gulcu
f logging AspectJ related messages. That MessageHandler was still using the log4j API directly which most probably caused a deadlock. The solution is quite simple: I've written an slf4j MessageHandler and the deadlock seems gone. Thanks for your help, Patrick Hancke 2009/2/10 Ceki Gulcu

Re: [slf4j-user] deadlock in slf4j-log4j12 ?

2009-02-10 Thread Ceki Gulcu
Hello Patrick, Looking at the stack trace, it seems that pool-2-thread-2 after obtaining a lock on the RootLogger tries to obtain a lock on an sun.misc.Launcher$AppClassLoader instance within the org.jmock.api.ExpectationError.toString() method. Another thread namely, pool-1-thread-3, after ob

Re: [slf4j-user] Why is there no NDC?

2009-01-23 Thread Ceki Gulcu
Joern Huxhorn wrote: Ceki Gulcu wrote: Hello Joern, Did you know that NDC can be implemented on top of MDC? I just added such an implementation into slf4j-ext. You can view it at: http://svn.slf4j.org/viewvc?view=rev&revision=1268 I'd implement NDC by using MDC the same way

Re: [slf4j-user] Why is there no NDC?

2009-01-23 Thread Ceki Gulcu
vious that this would be a bad idea, imo. Additionally, I'd suggest to implement message formatting like in the log statements because I guess that NDC could be disabled globally by configuration to save memory and have the ability to achieve better performance on demand. I think it would be rel

Re: [slf4j-user] Why is there no NDC?

2009-01-22 Thread Ceki Gulcu
Hi Joern, You are not beating a dead horse. There is no NDC in SLF4J because it is thought that the MDC offers a better more general solution than the NDC. However, I don't understand what you mean when you write: slf4j.NDC("Parameter is {}.", obj) What does the NDC offer that the MDC does n

Re: [slf4j-user] Making Spring use SL4J in a web application served by a Tomcat 5.5 server (should I expect problems?)

2009-01-21 Thread Ceki Gulcu
Hello Kent, You can place a copy of jcl-over-slf4j as well as slf4j-api plus logback-core and logback-classic in your web-application's WEB-INF/lib folder. I would expect this combination to work well. Logs generated by Spring (using commons-logging) should be logged by logback. I hope this

[slf4j-user] testing

2009-01-20 Thread Ceki Gulcu
Hello all, We just upgraded our server. Testing whether the mailing still works. Cheers, -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch ___ user mailing list user@slf4j.org http://www.s

[slf4j-user] log4j implementing the SLF4J API directly

2008-12-03 Thread Ceki Gulcu
Hello, I just submitted a proposal for log4j natively implementing the SLF4J API [1]. Please chime in with your comments on the log4j-dev list if you are interested in the topic. [1] http://marc.info/?l=log4j-dev&m=122830448725216&w=2 -- Ceki Gülcü Logback: The reliable, generic, fast and flex

[slf4j-user] Release of SLF4J 1.5.6

2008-11-21 Thread Ceki Gulcu
November 21st, 2008 - Release of SLF4J 1.5.6 SLF4J version 1.5.6 consists of bug fixes. Users are encouraged to upgrade to SLF4J version 1.5.6. The upgrade should pose no problems. Nevertheless, you might still want to refer to the SLF4J compatibility report. http://www.slf4j.org/compatibilit

Re: [slf4j-user] Using slf4j in unsigned Webstart Application

2008-11-15 Thread Ceki Gulcu
; thrown. In the case of StatusListenerConfigHelper.installIfAsked() I would > say you should assume the property is not defined if you cannot access it. > > Gili > > > Ceki Gulcu-2 wrote: >> >> Gili, Thank you for your message. >> >> I suggest opening a jira i

Re: [slf4j-user] DEBUG & TRACE with SimpleLogger

2008-11-14 Thread Ceki Gulcu
Hello, SimpleLogger just drops requests of level TRACE and DEBUG. There is no option to enable logs of level TRACE and DEBUG using SimpleLogger. HTH, dju` wrote: > dju` a écrit : >> Hello, >> >> I wonder why DEBUG and TRACE are disabled with the SimpleLogger. In my >> opinion, this logger is

Re: [slf4j-user] Using slf4j in unsigned Webstart Application

2008-11-14 Thread Ceki Gulcu
Gili, Thank you for your message. I suggest opening a jira issue about this problem. Attaching a test case to reproduce this problem would be very helpful. cowwoc wrote: > It does. The applications works perfectly as a normal application or signed > JNLP application. > > Gili > > -- Ceki Gü

Re: [slf4j-user] Using slf4j in unsigned Webstart Application

2008-11-14 Thread Ceki Gulcu
Hello Gili, It's the first time I hear about this. So, if you sign the application, does the problem go away? Sounds unlikely if you ask me. cowwoc wrote: > Hi Ceki, > > When I try using slf4j + logback in an unsigned Webstart application I get: > > Logging factory implementation cannot be

Re: [slf4j-user] Trying to use log4j-over-slf4j

2008-10-30 Thread Ceki Gulcu
. Assuming we have done a good job preserving SLF4J backward compatibility, this should work. 2) leave nlog4j.jar. You then need to remove log4j.jar *and* recompile your application against nlog4j.jar. HTH, Ceki Gulcu wrote: > Hello Raymond, > > Raymond Cramer wrote: > > >

Re: [slf4j-user] Trying to use log4j-over-slf4j

2008-10-30 Thread Ceki Gulcu
Hello Raymond, Raymond Cramer wrote: > I'm new to slf4j, having been using log4j. I am trying to use a > package (netcdf) that requires slf4j, but am having problems getting > my head around some of this stuff. > > 1) If I have an application (which uses log4j) deployed through > Tomcat, do

Re: [slf4j-user] apache solr using SLF4j

2008-10-27 Thread Ceki Gulcu
Thank you Ryan. I am very happy to learn that Apache Solr is using SLF4J. I'll add Apache Solr to the list of projects using SLF4J. Cheers, Ryan McKinley wrote: > Hello- > > Just dropping a line to say that Apache Solr (http://lucene.apache.org/solr/ > ) has switched to using slf4j. > > Rele

Re: [slf4j-user] Tailoring what logs

2008-10-27 Thread Ceki Gulcu
Hello Russel, SLF4J is essentially an API without an implementation, notwithstanding slf4j-simple or slf4j-nop. You need an actual implementation underneath, for example jul, log4j or logback. You can continue to use log4j's PropertyConfigurator if log4j is your underlying implementation. H

Re: [slf4j-user] Double Checking log level when logging with log4j

2008-10-23 Thread Ceki Gulcu
Hello Srinivasan, The logger.isEnabledFor(...) operation takes about 25 nanoseconds with log4j and about 10 nanoseconds with logback. new InterpolatedMessage probably takes longer than that.. Srinivasan Raguraman wrote: > When we are using log4j as underlying logger, sl4j actually does double

Re: [slf4j-user] How to debug sl4j

2008-10-23 Thread Ceki Gulcu
Hello Farrukh, I might be simply that Maven is not handing the right the dependencies to surefire... Which version of Maven are you using? Farrukh Najmi wrote: > It appears that my immediate problem was solved when I specified > -DforkMode=none to maven-sure-fire-plugin's test goal: > > mvn te

Re: [slf4j-user] Logging java.lang.NoSuchMethodError Exception?

2008-10-23 Thread Ceki Gulcu
Hello Ole, This is from http://slf4j.org/compatibility.html Please note that in many cases incompatibility problems are caused by mixing different versions of slf4j artifacts. For example, if you are using slf4j-api-1.5.4.jar you should also use slf4j-simple-1.5.4.jar, using slf4j-simple-1.4.2

Re: [slf4j-user] JDK logging bridge and Tomcat

2008-10-20 Thread Ceki Gulcu
Stephane, Try SLF4J version 1.5.5. snicoll wrote: > Hi, > > I have migrated an application to slf4j and I redirect the JDK logging > output to it. Things are working fine but I have a bad side effect > > I am using Maven and the cargo plugin to start tomcat, run some integration > tests on it

[slf4j-user] Release of SLF4J 1.5.5

2008-10-17 Thread Ceki Gulcu
October 17th, 2008 - Release of SLF4J 1.5.5 Version 1.5.5 comes less than 24 hours after release 1.5.4. We realized that the version check mechanism introduced in SLF4J 1.5.4 was inconsistent with the large size of SLF4J's installed user base. We cannot expect external SLF4J implementations to al

[slf4j-user] Release of SLF4J 1.5.4

2008-10-16 Thread Ceki Gulcu
October 16th, 2008 - Release of SLF4J 1.5.4 I am happy to announce the the immediate availability of SLF4J version 1.5.4. This version corrects critical bugs. You are highly encouraged to upgrade to SLF4J version 1.5.4. The upgrade should pose no problems. Nevertheless, you might still want to r

Re: [slf4j-user] Some considerations about the FATAL-level

2008-10-07 Thread Ceki Gulcu
Hello Thomas, If the underlying implementation does not support markers, then depending on how you look at it, the slf4j-binding will melt, releasing cataclysmic cosmic rays resulting in a chain of events annihilating the entire universe. More to the point, markers are ignored if the underlying

Re: [slf4j-user] user Digest, Vol 26, Issue 1

2008-10-06 Thread Ceki Gulcu
Hello Thomas, I see. You could retain the current functionality by setting up a SMTPAppender which is triggered (i.e. sends out an email) whenever a logging event marked as FATAL occurs. You need to use SLF4J markers. Moreover, currently only logback supports markers (wheras log4j and j.u.l. do no

Re: [slf4j-user] Some considerations about the FATAL-level

2008-10-02 Thread Ceki Gulcu
Hello Thomas, I agree with you that the existence of the FATAL level would make it easier for users to migrate to SLF4J from log4j or from commons-logging. It was not clear to me how the FATAL level helped you. What do you mean by "errors, that are logged as FATAL are connected to the log4j" ?

Re: [slf4j-user] MessageFormatter: brackets in brackets

2008-10-02 Thread Ceki Gulcu
Jean-Luc Geering wrote: > Ok, I think it is fixed in 1.5.3 > > with slf4j-simple-1.5.2.jar > > Logger log = LoggerFactory.getLogger("test"); > log.info("{{}}", "hello"); > > yields > > 1 [main] INFO test - {{}} > > but with slf4j-simple-1.5.3.jar it yields > > 1 [mai

Re: [slf4j-user] MessageFormatter: brackets in brackets

2008-10-01 Thread Ceki Gulcu
uickly tested with 1.5.3, and get the same behavior. > Bug? My fault? Do you need more details? > > JL > > - Original Message - > From: "Ceki Gulcu" <[EMAIL PROTECTED]> > To: "User list for the slf4j project" > Sent: Wednesday, October 1, 2008 3

Re: [slf4j-user] MessageFormatter: brackets in brackets

2008-10-01 Thread Ceki Gulcu
Hello Jean-Luc, Thank you for your message. Comments inline. Jean-Luc Geering wrote: > Hi there, > > On [1] I read that > > " In case your message contains the '{' or the '}' character, you do not > have to do anything special unless the '}' character immediately follows > '}' " > > shouldn'

Re: [slf4j-user] java.lang.NoSuchFieldError: name @org.slf4j.impl.SimpleLogger

2008-09-26 Thread Ceki Gulcu
Thorbjørn Ravn Andersen wrote: > Ceki Gulcu skrev: >> Good idea. Do you have an implementation in mind? >> > Nothing advanced. > > The API calls a new method in the backend with the version string which > the backend may veto, and the backend calls a new method

Re: [slf4j-user] java.lang.NoSuchFieldError: name @org.slf4j.impl.SimpleLogger

2008-09-23 Thread Ceki Gulcu
Good idea. Do you have an implementation in mind? Thorbjørn Ravn Andersen wrote: > Ceki Gulcu skrev: >> Hello John, >> >> I suspect this problem is caused by mixing mixing different versions of >> slf4j >> artifacts. For example, if you are using slf4j-

Re: [slf4j-user] java.lang.NoSuchFieldError: name @org.slf4j.impl.SimpleLogger

2008-09-23 Thread Ceki Gulcu
Hello John, I suspect this problem is caused by mixing mixing different versions of slf4j artifacts. For example, if you are using slf4j-api-1.5.3.jar you should also use slf4j-simple-1.5.3.jar, using slf4j-simple-1.4.2.jar will not work. Bailo, John wrote: > I am using the /openws/ library

Re: [slf4j-user] jcl104-over-slf4j on the web's classpath causes redirection of tomcat's internal logging

2008-09-23 Thread Ceki Gulcu
(IT) wrote: > Hi Ceki, > > Thanks for your response. I have tested it with Tomcat 5.5.17. > > Regards > Zoltan > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ceki Gulcu > Sent: Tuesday, September 23, 2008 3:48 PM > To: User

Re: [slf4j-user] slf4j-ext.jar ?

2008-09-23 Thread Ceki Gulcu
Hello Jacek, Ooops. This happens each time a new module, e.g. slf4j-ext, is added. You can either wait for the next version of slf4j or build SLF4J on your own. Get the sources by SVN and then build SLF4J with Maven2. Assuming you have Maven2 and Subversion installed, tt should be as easy as: svn

Re: [slf4j-user] jcl104-over-slf4j on the web's classpath causes redirection of tomcat's internal logging

2008-09-23 Thread Ceki Gulcu
Hello Zoltan, I would not have expected Tomcat's logs to be intercepted by slf4j. Which version of Tomcat is this? Szel, Zoltan (IT) wrote: > Hi everyone, > > i have a web application which uses jcl as it's dependency(e.g spring). > When i deploy my application on tomcat i notice, that tomca

Re: [slf4j-user] Typo in documentation

2008-09-23 Thread Ceki Gulcu
Hi Gili, Thank you for reporting this problem. Just fixed it. cowwoc wrote: > Search for "INFODEBUG" at > http://www.slf4j.org/api/org/apache/log4j/Level.html > > It should read "INFO, DEBUG" . Also, you should probably add "TRACE" to > this list (after DEBUG, before ALL). > > Gili > ___

Re: [slf4j-user] [bug report]stack trace content lost

2008-09-22 Thread Ceki Gulcu
Hello Jarod, Which JDK are you using? On JDK 1.5.0, I see java.lang.ClassCastException: java.lang.String What happens when you change the while loop to while (true) { try { Integer a = (Integer) m.get("a"); } catch (Exception e) { e.printStackTrace(); } }

Re: [slf4j-user] Log4j bridge - deprecated functionality

2008-08-20 Thread Ceki Gulcu
Hello Mads, Mads Pultz wrote: > That sounds perfect! I noticed that the current svn content only includes > the getInstance() methods. Do you have any plans on implementing the other > deprecated methods? See > http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Category.html > for re

Re: [slf4j-user] Log4j bridge - deprecated functionality

2008-08-20 Thread Ceki Gulcu
Mads Pultz wrote: > Hi again, > > I checked out the source and build a snapshot and could not get it to work. > I found out that the implementations of the getInstance methods do not match > the signature of the corresponding log4j methods. The should return a > Category object, not a Logger. I

Re: [slf4j-user] Log4j bridge - deprecated functionality

2008-08-19 Thread Ceki Gulcu
As similar request has been made by Michael Rumpf in bug 95. http://bugzilla.slf4j.org/show_bug.cgi?id=95 The getInstance() methods were added recently in SVN. You can expect these methods to be part of the next release. HTH, M. Hansen wrote: > Hi, > > We have decided to use JDK1.4 logging

Re: [slf4j-user] user Digest, Vol 24, Issue 5

2008-08-13 Thread Ceki Gulcu
Matt Humphreys wrote: > Hi Ceki, > i'm not author of the log4j taglib. Could slf4j taglib be licenced > under the apache licence and still hosted by slf4j? If not, maybe > sourceforge is a better option. Let me know what you think. > > Should this discussion move to the dev mailing list? Yes, don

Re: [slf4j-user] taglib

2008-08-11 Thread Ceki Gulcu
Matt Humphreys wrote: > Hi Ceki, > slf4j hosting sounds good - if you can set me up with access that > would be great. A few questions: > > - Are there any guidelines/restrictions for slf4j projects? (e.g. > maven, java version). SLF4J uses Maven, so for the sake of consistency Maven would be g

Re: [slf4j-user] Can Jarkarta Commons Logging and SLF4J coexist?

2008-08-11 Thread Ceki Gulcu
Prem, Have you read "Bridging legacy APIs"? See: http://www.slf4j.org/legacy.html In particular, the section entitled "Gradual migration to SLF4J from JCL". prem vinodh wrote: > Dear All, > > I have a main project (which is a Dynamic Web Project) say ABC and I have 2 > sub projects (Java Pr

Re: [slf4j-user] taglib

2008-08-10 Thread Ceki Gulcu
Hello Matt, It would be no problem at all to grant you commit access to slf4j.org's SVN under say http://svn.slf4j.org/repos/slf4j-taglib. This would work just as any other remote SVN repository. For the project site, you could use either http://taglib.slf4j.org or http://www.slf4j.org/taglib at y

  1   2   >