Re: User-based logger level

2012-06-11 Thread ceki
Yours is a text-book requirement: http://logback.qos.ch/reasonsToSwitch.html#filters See the docs on MDCFilter at [1]. [1] http://logback.qos.ch/manual/filters.html#TurboFilter -- Ceki http://twitter.com/#!/ceki On 11.06.2012 11:55, yong...@agfa.com wrote: Dear all, We're abo

Re: SMTPAppender & MDC

2012-06-07 Thread ceki
"Selective triggering & recipient addressing with transaction isolation". HTH, [1] http://logback.qos.ch/manual/appenders.html#SMTPAppender [2] http://logback.qos.ch/recipes/emailPerTransaction.html -- Ceki http://twitter.com/#!/ceki On 07.06.2012 11:08, Zbynek Vavros wrote: Hi

Re: slf4j, log4j and PropertyConfigurator.configure

2012-06-07 Thread ceki
Hello Jeff, From the messages log4j outputs at configuration time, it very much looks like the root logger is defined twice with the second definition with no appender. Hence the "log4j:WARN No appenders could be found for logger (com.loca.util.services.AppListener)" message. HTH, --

Re: Log4J doesn't work at all

2012-04-12 Thread ceki
e was the original error. (Disclaimer: I have never used selenium.) -- Ceki http://twitter.com/#!/ceki - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org

Re: org.apache.log4j.MDC vs. org.slf4j.MDC

2011-11-02 Thread ceki
le MDC more predictable and less error prone. Of course, SLF4J's the stricter MDC interface allows less flexibility. -- Ceki http://twitter.com/#!/ceki - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For

Re: Anyone Using Chainsaw Anymore

2011-02-14 Thread Ceki Gülcü
good. -- Ceki - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org

Re: Is it possible to configure different log levels for the same appender based on what logger it is coming from?

2010-10-20 Thread Ceki Gülcü
Hello Adam, Do you have access to the source code where logger A is defined and used? -- Ceki - http://logback.qos.ch/ On 20/10/2010 11:23 PM, Adam Creeger wrote: Hello all, I have a question regarding how I might configure Log4J to support the following scenario: The root logger has an

Re: log4j xml param values want to pull form database dynamically

2010-04-15 Thread Ceki Gülcü
SiftingAppender could go a long way in helping Mohan's problem. See http://logback.qos.ch/manual/appenders.html#SiftingAppender On 15/04/2010 6:35 AM, Jacob Kjome wrote: I think you want to create a new logger repository per/user. Look into Repository Selectors and search the list for someth

Re: Standalone instance with multiple log4j setting

2010-04-01 Thread Ceki Gülcü
On 01/04/2010 12:41 PM, WM YEOH wrote: Hi Ceki, Thank you for the guidance. I think I better start all over again what was the actual problem to give you a better picture. I am currently upgrading the sun one apps server from 7.1 to 9.1 (in UNIX platform), common-logging.jar

Re: Standalone instance with multiple log4j setting

2010-03-31 Thread Ceki Gülcü
y used will be the first one looked up. If one webapp looks it up first, it's logger repository will be used for the life of the library (i.e., until server restart). Other apps using the library will have that library's logs going to the first application's logger repository. I kno

Re: Measuring logging performance impact (including string concatenation)

2010-02-23 Thread Ceki Gülcü
there is no need to create an Object array as SLF4J offers methods for one or two arguments. Only for 3 or more arguments do you need to create an Object[]. Anyway, it's very nice to hear from you. HTH, -- Ceki http://logback.qos.ch: The reliable, generic, fast and flexible logging framework.

Re: Measuring logging performance impact (including string concatenation)

2010-02-23 Thread Ceki Gülcü
e with the applet as both the application and the applet would be using the same logging API. Your application of course could continue to delegate logging to log4j as you do currently. HTH, -- Ceki http://logback.qos.ch: The reliable, generic, fast and flexible logging framework. On 23/02/20

Re: Request for help: Log messages are not logged properly

2010-02-19 Thread Ceki Gülcü
. by waiting say 10 milliseconds between each transmission. UDP non-reliability as the source of the losses you observe is just an hypothesis, the real cause may be different. HTH, -- Ceki http:/logback.qos.ch: the reliable, generic, fast and flexible logging framework. On 19/02/2010 11:09 AM

Re: starttls

2009-10-16 Thread Ceki Gulcu
starttls? Thanks in advance -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional

Re: Verifying initialization

2009-09-15 Thread Ceki Gulcu
ough for most people. If it worked once, it ought to work again. Jake Regards, Michael Erskine. - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apa

Re: Need Info/Documentation/Examples for extending log4j for additional fields/info

2009-08-11 Thread Ceki Gulcu
are created because of it. Hence, I would like to know the pointers to proper way of achieving this. If someone has come across any documentation/examples it would be really helpful. Thanks in advance. Regards, Jain -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging fram

Re: Telegram based DailyRollingFile appender?

2009-07-13 Thread Ceki Gulcu
in nagios. Is there any way for a file appender, such as the DailyRollingFile appender, to make it more resistant to connection loss? Thanks in advance for your answers. Greetings, Collatz -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging f

Re: log4j does not log when the application crashes for some reason

2009-06-29 Thread Ceki Gulcu
log the exception is there any way to deal with this ? Appreciate any response on this. Thanks, Krishna -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch - To

Re: SyslogAppender on linux and aix

2009-06-26 Thread Ceki Gulcu
DASHGIR wrote: Do you know why log4j requires to log as remote? How does it do it. IP spoofing? Log4j does not require to log to a remote syslog host. *You* are telling it to log through a SyslogAppender that *you* are defining. -- Ceki Gülcü Logback: The reliable, generic, fast and

Re: SyslogAppender on linux and aix

2009-06-26 Thread Ceki Gulcu
default, syslogd does not accept packets from the network, which is probably the source of your problem. -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch - To

Re: log4j v1.2.14 compatible with Java 1.6?

2009-06-18 Thread Ceki Gulcu
down log4j. When you stop and restart your application make sure to invoke LogManager.shutdown(). Best regards, Lesley Tay wrote: Hi Ceki / all, Since then I've done abit more investigation and found a few odd things which support the theory that there is more than 1 thread writing to the

Re: log4j v1.2.14 compatible with Java 1.6?

2009-06-11 Thread Ceki Gulcu
own. So, in principle, using AsyncAppender should not be a problem. Lesley Tay wrote: Hi Ceki, We actually did a bit more investigation into that same possibility and found that if you have a test class similar to the one below: import java.io.File; import java.io.FileWriter; public class

Re: log4j v1.2.14 compatible with Java 1.6?

2009-06-10 Thread Ceki Gulcu
the views or opinions of Macquarie Group Limited. -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apac

Re: Setting up trace ony for a certain user

2009-04-27 Thread Ceki Gulcu
r Software Analyst IBM Rational Serviceability Architect -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apac

Re: problem with log4j...Help Please!!!

2009-03-23 Thread Ceki Gulcu
lassloa...@11b86e7]. [java] log4j:ERROR Could not instantiate appender named "CONSOLE". Can anyone help me?? -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch --

Re: logging different object instances in different log files

2009-03-12 Thread Ceki Gulcu
for an instance of a class and the classes used by that instance in one log file, and another instance of that class in a different file). -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http:/

Re: Is it possible several web servers writing in the same log file?

2009-03-10 Thread Ceki Gulcu
ount by NFS the same directory in both machines and put there the log files, but I'm not sure if this is reliable because we would have two JVM trying to write in the same rolling file. Any ideas would be apreciated. Regards, Agustín T. -- Ceki Gülcü Logback: The reliable, generic, fast and flexi

Re: strange behaviour of log4j

2009-03-06 Thread Ceki Gulcu
customers. the effect ist as follows: the logfiles start with a line of nullvalues (0x00). this line is sometimes a large ammounts of screenpages long. It seems that there ist a nullvalue pushed to the beginning of the logfile every some time. -- Ceki Gülcü Logback: The reliable, generic, fast and

Re: Separating Configuration

2009-03-05 Thread Ceki Gulcu
configured from their own files. What's the best > way to keep these configurations separate and local to the server's > http request logging mechanism? Should I create a LoggerFactory that > maintains it's own LoggerRepository just for the request loggers? -- Ceki G

Re: log4j logger writing log in wrong files

2009-02-19 Thread Ceki Gulcu
you. I hope this helps. abhinay wrote: Hi there, I am working on server which used thread pool to process each client request by separate dedicated thread. [snip] -- Ceki Gülcü [1] http://logback.qos.ch/manual/appenders.html#SiftingAppender Ps. Abhinay, if you are interested to pursue

Re: Strange NPEs after redeploy

2008-12-29 Thread Ceki Gulcu
not sure if this is a log4j, a commons-logging, a Tomcat, a commons digester or whatever problem. But all this worked a couple of hours ago before updating the libraries. I'd not find any useful information at Google & Co. Thanks Thoralf -- Ceki Gülcü -

Re: Repository selectors, useful?

2008-12-01 Thread Ceki Gulcu
k-user/2008-November/date.html Jake -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

log4j adopting SLF4J? [Was: Repository selectors, useful?]

2008-12-01 Thread Ceki Gulcu
Jacob Kjome wrote: > Ceki Gulcu wrote: >> It should not be difficult to write a SLF4J binding for log4j which >> supports repository selectors. >> > ...which would require Log4j to directly implement the SLF4J interfaces, no? > Doubtful for 1.2.xx. If there is suppo

Re: Repository selectors, useful?

2008-11-28 Thread Ceki Gulcu
need to be on global class container. If the container uses log4j (as in jboss), they can hide or not export log4j classes to the applications it hosts. There is also a question of shared libraries. This is a really tough one to crack as mere logger contexts are insufficient. -- Ceki Gü

Re: Repository selectors, useful?

2008-11-27 Thread Ceki Gulcu
Thanks for your response. Comments inline. Jacob Kjome wrote: Hi Ceki, Can you please explain your change of heart first? I'll take a guess as to your skepticism... 1. Very little built in support, making repository selectors generally a custom solution, which inhibits widesprea

Re: AW: [SPAM (Bayesain Analysis)] - Repository selectors, useful? - Bayesian Filter detected spam

2008-11-27 Thread Ceki Gulcu
convenient solution in the coming days. Cheers, Bender Heri wrote: > Hallo Ceki > > I found log4j's RepositorySelector very useful, I think I would not > have been able to solved my problem without it. > > I use it in a System which is designed to maintain different > cu

Repository selectors, useful?

2008-11-26 Thread Ceki Gulcu
skeptical about their usefulness. If you are using context/repository selectors, could you please explain why? -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch - To

Re: SMTP Appender

2008-11-13 Thread Ceki Gulcu
y for username, password and the port? My host runs off of port 26, not 25. -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch - To unsubscribe, e-mail: [EMAIL PROT

Re: Log4j Version # 1.2.8 occasionally stops logging without any error message

2008-09-24 Thread Ceki Gulcu
included the relevant config file. -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Synchronisation issue with log4j

2008-08-05 Thread Ceki Gulcu
_LOG_LAYOUT, <-- and here "/user/cdelbe/home/tmp/log2",false); l2.addAppender(fa2); } catch (IOException e) { e.printStackTrace(); } [snip] Christian. -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j/ --

Re: log4j best practises

2008-06-06 Thread Ceki Gulcu
ck. Was it because you were not aware that they existed, or was it some other reason? Julius Davies wrote: Here's a page of what I consider log4j best practises: http://juliusdavies.ca/logging.html Any comments are very welcome! -- Ceki Gulcu http://logback.qos.ch/ A generic, reliable,

Re: log4j, log-levels and glassfish?

2008-04-11 Thread Ceki Gulcu
Thanks in advance for any hints; best regards. Kristian -- Ceki Gülcü QOS.ch is looking to hire talented developers in Switzerland. If interested, please contact c e k i @ q o s . c h - To unsubscribe, e-mail: [EMAIL PROTE

Re: Everybody's logging but me

2008-03-13 Thread Ceki Gulcu
The root logger is set to WARN. That might be the culprit. Jérôme Pramondon wrote: log4j: Parsing for [root] with value=[WARN, stdout, file]. log4j: Level token is [WARN]. [snip] -- Ceki Gülcü QOS.ch is looking to hire talented developers in Switzerland. If interested, please contact c e

Re: Regarding Joran Configurator

2008-03-13 Thread Ceki Gulcu
backported to 1.2 version as extras, but I am not able to find joran among them. Could you please guide me as to whether there is any alternative that I must be using? Thanks, Srijith. -- Ceki Gülcü QOS.ch is looking to hire talented developers in Switzerland. If interested, please contact c

Re: 1.3 {} notation available in 1.2.x?

2007-09-03 Thread Ceki Gulcu
Scott Deboy wrote: What about the option of adding support for messageFormat in logger itself in a future release? (which release?) I think it's a good idea. -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.q

Re: 1.3 {} notation available in 1.2.x?

2007-09-03 Thread Ceki Gulcu
her. However, I believe this extra power is only rarely used in log statements. I would recommend that the SLF4J API is given serious consideration in future log4j releases. If there is support for the idea, I could do the necessary work. -- Ceki Gülcü Logback: The reliable, generic, fast and f

Re: 1.3 {} notation available in 1.2.x?

2007-09-02 Thread Ceki Gulcu
back to 1.2.15 now. i often used the {} symbols in my log statements, e.g. logger.info("blahblah {}", value); 1.2.x does not seem to understand this. is there any extension to 1.2.x that supports this notation? cheers, dirk -- Ceki Gülcü Logback: The reliable, generic, fast an

Re: Clashing between two different versions of log4j.

2007-08-24 Thread Ceki Gulcu
er.java:129) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654) Could you please someone tell me how to fix this issue ? Regards Prathib Kumar -- Ceki Gülcü Logback: The reliable, generic, fast a

Re: Propagate errors in a scripting application using log4j

2007-07-09 Thread Ceki Gulcu
nd outputs at the end of the flow? I'll appreciate any help or tips I can get in this matter! -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch - To unsubscr

Re: How to handle log4j's internal exceptions

2007-06-13 Thread Ceki Gulcu
ut log4j, so maybe it's easy. But i looked at the wiki, faq's and the API and did't find anything that helped... -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch ---

Re: [HELP] log file larger than specified MaxFileSize.

2007-04-27 Thread Ceki Gulcu
geff henderson chang wrote: Ceki: Thanks for the response. Sure. I don't have any problems with using other log files. My current situation is this. I have different log4j.xml files for different modules. For the error log, they all refer to the same error.log But one of them specif

Re: [HELP] log file larger than specified MaxFileSize.

2007-04-27 Thread Ceki Gulcu
t refer to the same log file (/var/log/errors.log) using RollingFileAppender. First log4j.xml specifies a MaxFileSize of 50MB. Second log4j.xml specifies a a MaxFileSize of 20MB. Both have ERROR Thresholds. Both also have MaxBackupIndex of 2. But log file reaches up to 70+MB. Is this normal? --

Re: large amounts of 0 characters at beginning of log

2007-03-19 Thread Ceki Gülcü
At 09:56 PM 3/16/2007, Jeff Drew wrote: Hi Ceki, Thanks for responding. 1. My application is multithreaded and has multiple logging subjects, but only one RollingFileAppender for this log file. So approximately 30 threads call logSubject1.info(), logSubject2.info(), etc. But these all use

Re: Is log4j version 1.2.13 compatible with J2EE 1.4 and Java 5?

2007-03-19 Thread Ceki Gülcü
1.2.x is compatible with JDK 1.3 and above. Jake -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: large amounts of 0 characters at beginning of log

2007-03-16 Thread Ceki Gülcü
, problems, etc? Any suggestions on how to diagnose this problem? Thanks -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch - To unsubscribe, e-mail: [EMAIL PROT

Re: Root logger appenders in log4j 1.3

2007-02-23 Thread Ceki Gülcü
Log4j-1.2.xx? Do you get the same results or do you get the behavior described in the manual? It's certainly possible that this contract was broken in 1.3. Ceki, Curt, anyone, can you shed any light on this topic? What's the expected behavior? Is the manual right, wrong, or just

Re: Excluding IP from log without custom filter

2007-02-23 Thread Ceki Gülcü
t you are looking for. Although logback is written using JDK 1.5, it ships with jars compatible with jdk 1.4. See also [1]. [1] http://www.qos.ch/pipermail/logback-user/2007-February/000133.html HTH, -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java.

Re: Excluding IP from log without custom filter

2007-02-22 Thread Ceki Gülcü
- - [22/Feb/2007:11:10:07 -0500] "GET / HTTP/0.9" 200 12248 "-" "-" Thanks for any help, Chris -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://logback.qos.ch -

Re: Syslog logging configuration

2006-11-09 Thread Ceki Gülcü
daemon. No, I can authoritatively state that log4j uses UDP. You have to enable the syslog deamon to accept network (remote) connections. (It's the -r flag for the vanilla syslog daemon. For syslogng you need to open a UDP channel. HTH, -- Ceki Gülcü Logback: The reliable, generic, fas

Re: Always logging stacktrace for a specific Appender?

2006-09-07 Thread Ceki Gülcü
e following message relevant. http://www.qos.ch/pipermail/logback-user/2006-August/09.html Cheers, -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. - To unsubscribe, e-mail: [EMAI

Re: Always logging stacktrace for a specific Appender?

2006-09-07 Thread Ceki Gülcü
Hammers wrote: So log4j is dead? You should place a link at the website pointing to logback... anyway, thanks for the hint. bye, -christian- -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java

Re: Always logging stacktrace for a specific Appender?

2006-09-07 Thread Ceki Gülcü
.. bye, -christian- -- Ceki Gülcü Logback: The reliable, generic, fast and flexible logging framework for Java. http://ceki.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [BULK] Question about RollingFileAppender

2006-04-26 Thread Ceki Gülcü
Ooops, I meant "you want to perform" instead of "you will to perform". At 08:56 AM 4/26/2006, Ceki Gülcü wrote: There is triggering policy but also a rollover policy. The latter allows gives you a chance to rename your files according to various criteria. Actually, the

RE: [BULK] Question about RollingFileAppender

2006-04-25 Thread Ceki Gülcü
> The link for the new class. It's in log4j.rolling instead of just the > log4j package. > > http://logging.apache.org/log4j/docs/api-1.3/org/apache/log4j/rolling/Ro > llingFileAppender.html > > Sowmya > -- Ceki Gülcü http://ceki.blogspot.com/ --

RE: Logging of specific session in web app.

2006-04-25 Thread Ceki Gülcü
it. I can't think of how it might be implemented, though. I still think using a filter one or more appenders within a single logger repository is a viable option. That's where I would focus my efforts if I were to implement what you are proposing.

RE: No-args Logger.getLogger()

2006-04-12 Thread Ceki Gülcü
nversion patterns in PatternLayout. Any uncertainty in incorrect logger names seems to me more serious than uncertainty in incorrect location information. Scott Deboy -- Ceki Gülcü - To unsubscribe, e-mail: [EMAIL PROTECT

Re: No-args Logger.getLogger()

2006-04-12 Thread Ceki Gülcü
#getStackTrace() -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: No-args Logger.getLogger()

2006-04-12 Thread Ceki Gülcü
), which was felt to be unsafe. Were the arguments put before you at the time convincing? -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: What about nlog4j?

2006-03-29 Thread Ceki Gülcü
ases which synchronize with changes in SLF4J. As mentioned on NLOG4J's web-page, all new development effort in NLOG4J is now redirected into LOGBack, a successor for log4j and NLOG4J. Thanks in advance, Daniel Serodio

RE: How to get log4j to work with commons-logging in web service app?

2006-03-29 Thread Ceki Gülcü
our log4j.properties file, our logging is getting directed to Jetty somehow. -dh -- Ceki Gülcü http://ceki.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ErrorHandler in log4j 1.3

2006-03-14 Thread Ceki Gülcü
1.3 with a homegrown work around, please advise. Thanks, Jonathan -- Ceki Gülcü http://ceki.blogspot.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: reusability and applet dilemma

2006-02-21 Thread Ceki Gülcü
my problem. Thanks Jeff public class TimeStamp implements Serializable { // the following line will cause a security exception static Logger cat = Logger.getLogger( "TimeStamp" ); pub

Re: Performance concerns logging to multiple files

2005-12-20 Thread Ceki Gülcü
quick answers. I'll try it and do some benchmark, still not sure what performance issues are with both options (one log file versus per-user log file). Regards, Isabel -- Ceki Gülcü Improve your Sudoku skills at http://www.sudok

RE: override the log4j.xml and log4j.jar already present in Jboss 4.0.2

2005-11-22 Thread Ceki Gülcü
r each separate logger repository, especially if the unified classloader won't allow for child-first classloading (although I believe there is supposed to be an option for this... but I've heard its a bit problematic). Jake -- Ce

RE: Next alpha release

2005-10-19 Thread Ceki Gülcü
At 04:45 PM 10/19/2005, Rakesh Patel wrote: Hi Ceki, Is it possible for my main application to use slf4j and my test cases to use log4j directly? Yes, that is possible. If so, do I need both log4j.jar (either 1.2 or 1.3) and slf4j-log4j.jar in my classpath? Yes. slf4j-log4j.jar depends

Re: Next alpha release

2005-10-19 Thread Ceki Gülcü
ent all of MessageFormat. For example: logger.debug("some data {}", value); written using an external formatter would look like: MessageFormatter.debug(logger, "some data {}", value); You don't seem to think that the last line is problematic. -- Ceki Gülcü The complete lo

Re: Next alpha release

2005-10-19 Thread Ceki Gülcü
ossible to retrofit that into 1.2? Moving to 1.3 seems quite painful with all the changes. Cheers Rakesh -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j/ Improve your Sudoku skills at http://www.sudoku-grok.com/ --

Re: Must use relative path for log file

2005-08-25 Thread Ceki Gülcü
separators. This method returns null if the servlet container cannot translate the virtual path to a real path for any reason (such as when the content is being made available from a .war archive). So, are you deploying your application as a .war file? [1] http://tinyurl.com/8w33s Best

Re: Must use relative path for log file

2005-08-23 Thread Ceki Gülcü
solution offered by others. I did come across one suggestion to use the getRelativePath() but I don't know how to set this in the log4j.properties file. Is there a solution for this or even an alternative to log4j if this is not possible? Thanks, ---

RE: Embaded database in Websphere App Server 5.0

2005-07-25 Thread Ceki Gülcü
some good resources for using it. Regards, Jitendra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/

Re: syslogging in log4j

2005-07-21 Thread Ceki Gülcü
mehost.com log4j.appender.S.Facility=local5 log4j.appender.S.layout=org.apache.log4j.PatternLayout log4j.appender.S.layout.ConversionPattern=%d{-MM-dd HH:mm:ss}: %p %c - %m%n # add appender to logger log4j.logger.test.TestClass=DEBUG, Z [cut] Jerry -- Ceki Gülcü The complete log4j manual: http://www.qo

RE: log4j LoggingEvent repeater

2005-06-30 Thread Ceki Gülcü
ained solution. Any other ideas? Todd. -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Log4J lost java context

2005-06-30 Thread Ceki Gülcü
No. Any help is welcome. Regards, Thomas de Bodt. -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Filter based on category?

2005-06-27 Thread Ceki Gülcü
he logger name seems particularly intrusive. Moreover, you will surely have code shared by webapps, desktop apps and janitor apps. -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j/ - To unsubscribe, e-ma

Re: Release of NLOG4J version 1.2.11

2005-05-15 Thread Ceki Gülcü
Unless you need SLF4J support, there is no need for you to switch. At 20:55 5/15/2005, [EMAIL PROTECTED] wrote: Ok, so for the generic Log4j user, such as myself, what does NLog4j give me? Why would I want to change? Thanks > --- Ceki Gülcü <[EMAIL PROTECTED]> wrote: >> >>

Release of NLOG4J version 1.2.11

2005-05-15 Thread Ceki Gülcü
version 1.2.11, including full source code, class files and documentation at http://www.slf4j.org/download.html -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [ANN] Log4j version 1.2.10 recalled

2005-05-01 Thread Ceki Gülcü
vices team - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j/ - To unsubscri

Re: Release of log4j version 1.2.10

2005-04-29 Thread Ceki Gülcü
I am aware of the problem. Thanks Jim. At 21:54 4/29/2005, you wrote: Hi Ceki, Not having much luck on the link at http://logging.apache.org/site/binindex.html which is directed at http://logging.apache.org/site/[preferred]logging/log4j/1.2.10/logging-log4j-1.2.10.zip However, I was able to

Release of log4j version 1.2.10

2005-04-29 Thread Ceki Gülcü
in the desired implementation at deployment time. For more details about SLF4J, see http://www.slf4j.org You can download log4j version 1.2.10 at http://logging.apache.org/site/binindex.html -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j

RE: Dynamic Loggers

2005-04-21 Thread Ceki Gülcü
to ** remove ** a logger? I certainly cant see it in the documentation. Thanks, Dave -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

Re: Sequence of logging events

2005-04-15 Thread Ceki Gülcü
lthough related, there is also the separate question mentioned by Curt, that is the order in which events occur and the order in which they are output by log4j as epitomized by the AsyncAppender reordering problem when its buffer is full. HTH, Thanks Rohit -- Ceki Gülcü The complete log

Re: The book. Comments

2005-04-15 Thread Ceki Gülcü
java -cp ../lib/log4j-1.2.9.jar:. $1.$2 for i in *.log do echo "File" $i cat $i done rm -f *.log HTH DaveP. -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j/ - To unsubscribe, e-mail:

Re: The book. Comments

2005-04-15 Thread Ceki Gülcü
r. The examples reinforce the text. -- Regards, Dave Pawson XSLT + Docbook FAQ http://www.dpawson.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j/ --

Re: log4j 1.3 printing messages to the console

2005-04-14 Thread Ceki Gülcü
There should be an alpha7 released after we move log4j to subversion. I'd say before the end of the month. At 04:05 PM 4/14/2005, Ricardo Trindade wrote: Hi, Are other alpha or beta releases planned soon ? thanks Ricardo Ceki Gülcü wrote: Hello Ricardo, Those messages have been removed i

Re: log4j 1.3 printing messages to the console

2005-04-14 Thread Ceki Gülcü
face. thanks Ricardo -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Strange problem

2005-04-12 Thread Ceki Gülcü
truem, in this particular case, parent-first delegation implies that the copy of JCL in your web-app will be ignored. I'll go hunt down all copies now and update them, see what happens... -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com -- Ceki

Re: Strange problem

2005-04-12 Thread Ceki Gülcü
x27;t have the right answer at this point, but it does certainly appear to be fixing the problem somehow. Thanks! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/

Re: Strange problem

2005-04-12 Thread Ceki Gülcü
down the road! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com -- Ceki Gülcü The complete log4j manual: http://www.qos.ch/log4j/ - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Alpha 6 release

2005-04-08 Thread Ceki Gülcü
At 05:15 PM 4/8/2005, Jacob Kjome wrote: Quoting James Stauffer <[EMAIL PROTECTED]>: > How would log4j-all.jar have classloader problems? Would it have > something in it besides log4j code? > I think Ceki is referring to the case where, let's say we have log4j-all.jar in CATA

Re: File-Appender: Empty Ghost files

2005-04-07 Thread Ceki Gülcü
never used afterwards. I would like to avoid the creation of this file. What do you mean by LogManager has its own initialization? You mean default initialization? If the default initialization is not needed than why do you go through with it? I am using version 1.2.8 TIA Heri -- Ceki Gülcü

  1   2   3   4   >