[MOVING] Log4j lists moving shortly!

2003-12-20 Thread Ceki Gülcü
to the old lists will be automatically migrated to the new lists. Please kindly update your references to the new lists. Best regards, -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp

Migration to logging.apache.org

2003-12-19 Thread Ceki Gülcü
will automatically be subscribers of the new lists. The migration is expected to occur this weekend or early next week. -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp

[ANNOUNCEMENT] Apache Logging Services project

2003-12-18 Thread Ceki Gülcü
, -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Fallback Error Handler

2003-12-17 Thread Ceki Gülcü
a getBackupAppender method. But I was curious as to why there isn't a public accessor. Is what I'm doing not advisable? Regards Milind -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp

Re: Tomcat log4j .

2003-12-17 Thread Ceki Gülcü
/ServletContextEvent.htmServletContextEvent sce) method of a ServletContextListener. See for example: http://www.mail-archive.com/[EMAIL PROTECTED]/msg10001.html Hope this helps, -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp

RE: Dynamic Configuration

2003-12-12 Thread Ceki Gülcü
the close, some logs try and come through to be appended. What type of Appender are you using (FileAppender? Daily*Appender?), and what version of log4j are you using? (the latest is log4j 1.2.8) cheers, Paul Smith -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN

Re: Unexpected logger ancestor

2003-12-11 Thread Ceki Gülcü
the issue. However I am using my own logger implementation (it extends Logger) so maybe somthing in there is causing the problem. Perhaps I have overridden one of Loggers methods incorrectly.. Hmm, maybe the problem is in your wrapper. Just a cynical thought... -- Ceki Gülcü For log4j

RE: [Chainsaw]: Ant-based installer

2003-12-11 Thread Ceki Gülcü
the expression language. Take care, Scott -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Unexpected logger ancestor

2003-12-10 Thread Ceki Gülcü
and Y.Z should bear no relation to each other except their common ancestor the 'root' logger. Does that answer your question? Tom -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp

Re: Config Files

2003-12-10 Thread Ceki Gülcü
param name=File value=${acsauth.loghome}${file.separator}prf${file.separator}prf.log/ ... and set the java properties - this config is portable btw windows and solaris. Is this what you meant? Alison Ortega North Carolina State University ACS Systems Programmer II 919-513-1417 -- Ceki Gülcü

Re: improving PropertyConfigurator.configureAndWatch

2003-12-08 Thread Ceki Gülcü
(); } [cut] -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Having 2 loggers log to the same file...

2003-12-08 Thread Ceki Gülcü
file. Am I doing something obviously wrong? Thanks In Advance. alan -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp

Re: Unexpected logger ancestor

2003-12-05 Thread Ceki Gülcü
at least) behaviour. The loggers are configured as follows: category name=X priority value=debug / /category category name=Y priority value=debug / /category [cut] Tom -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop

RE: Log4j SMTP Appender Tomcat trouble

2003-12-03 Thread Ceki Gülcü
the dependence of SMTPAppedner on logging statements of level ERROR. At 10:07 AM 12/3/2003 -0500, Shapira, Yoav wrote: Howdy, You do know the SMTP appender by default will only send our ERROR and higher messages, right? Yoav Shapira Millennium ChemInformatics -- Ceki Gülcü For log4j documentation consider

Re: I am not getting stack trace from logger.error(error,e)?

2003-11-27 Thread Ceki Gülcü
be a problem? Thanks in advance. robert -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Log4J 1.2.8 not functional with J2ME

2003-11-14 Thread Ceki Gülcü
of the Apache Software License must be adhered to, in particular the first clause. -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November

Re: Logging multiple threads to multiple files

2003-11-14 Thread Ceki Gülcü
entries in thread3's log, and so on. I've done some poking around and found that I can set a threshhold to log specific log levels to different files, but that's not what I need. I want to log ALL levels from a thread to its own log file. Can this even be done? -- Ceki Gülcü For log4j

Re: Using log(fqcn,level, message, throwable): how is fqcn displayed in the formatted output?

2003-11-06 Thread Ceki Gülcü
do I see this.is.my.pack in the output? Thanks -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

Re: LoggingEvent.locationInfo

2003-11-04 Thread Ceki Gülcü
Systems Integrator Mobile Telephone Networks - Information Systems -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

Re: MDC values and child threads

2003-10-29 Thread Ceki Gülcü
? Thanks in advance. Mike -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

RE: Log4J vs. java.util.logging

2003-10-27 Thread Ceki Gülcü
-- Matthias Petersen -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

RE: Log4J vs. java.util.logging

2003-10-27 Thread Ceki Gülcü
] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN

Re: log4j 1.3 domains, anyone?

2003-10-27 Thread Ceki Gülcü
in the current log4j object world of loggers, appenders, levels, filters, etc.? Thanks in advance. doug -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21

Re: Interesting deadlock situations - org.apache.log4j.spi.RootCategory

2003-10-25 Thread Ceki Gülcü
] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

RE: Log4J vs. java.util.logging

2003-10-24 Thread Ceki Gülcü
] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

Re: Log level definitions

2003-10-20 Thread Ceki Gülcü
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü For log4j documentation consider The complete log4j manual

Re: Useful Object Renderers

2003-10-20 Thread Ceki Gülcü
renderers were also generic, that would be really powerful. Thanks, Daniel -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http

Re: Request for enhancment in PatternLayout

2003-10-20 Thread Ceki Gülcü
. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime

RE: Enhancement Request

2003-10-19 Thread Ceki Gülcü
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003

Re: Logging levels

2003-10-19 Thread Ceki Gülcü
program logic to get closer to the place where stuff goes wrong and then switch to debug. INFO: show program configuration info, etc TRACE: show program logic and flow DEBUG: show logic explanation / reasoning Tom -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN

Re: need functionality to truncate the tail of fields using PatternLa yout

2003-10-16 Thread Ceki Gülcü
of functionality useful to others? Is this the approach I should be taking when proposing changes? Thanks in advance. Doug - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü

RE: need functionality to truncate the tail of fields using Patte rnLa yout

2003-10-16 Thread Ceki Gülcü
: Ceki Gülcü [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2003 11:45 AM To: Log4J Users List Subject: Re: need functionality to truncate the tail of fields using PatternLa yout Doug, There is no need to patch the files you mention. Actually, they don't even

Re: log4j using appender but not specified pattern

2003-10-03 Thread Ceki Gülcü
the specified pattern? Thanks, Tom -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

Re: log4j using appender but not specified pattern

2003-10-03 Thread Ceki Gülcü
=true However I dont get the debug output so Im none the wiser there Tom From: Ceki Gülcü [EMAIL PROTECTED] Reply-To: Log4J Users List [EMAIL PROTECTED] To: Log4J Users List [EMAIL PROTECTED] Subject: Re: log4j using appender but not specified pattern Date: Fri, 03 Oct 2003 11:14:20 +0200

Re: log4j xml configuration

2003-10-03 Thread Ceki Gülcü
). Actually, it's log4j.xml first and log4j.properties second. Of course, this does not help in hunting down the problem. -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime

Re: BufferSize always the same

2003-10-02 Thread Ceki Gülcü
. Pascal -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

Re: BufferSize always the same

2003-10-02 Thread Ceki Gülcü
I read was correct, in AsyncAppender, BufferSize is a number of log statements. Correct. In AsyncAppender, BufferSize is the number of log statements. Pascal -- Ceki Gülcü -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop

Re: Problem with HTMLLayout (log file attached)

2003-10-01 Thread Ceki Gülcü
problem when the application is restarted and the old log file is still there? I tried testing that on my box, but that doesn't seem to be the issue. This is seemingly happening at random, but I'm sure there's something I'm doing wrong! Thanks in advance for your help. Rajat. Ceki Gülcü [EMAIL

Re: dumb newbie question?

2003-10-01 Thread Ceki Gülcü
sure to use the right variable name. I have tried various options but none seem to work. thanks, Rishi -- -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US

Re: dumb newbie question?

2003-10-01 Thread Ceki Gülcü
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp

Re: Antwort: configure and watch log4j.xml

2003-09-30 Thread Ceki Gülcü
-- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

Re: Problem with HTMLLayout

2003-09-30 Thread Ceki Gülcü
Transitional//EN http://www.w3.org/TR/html4/loose.dtd; Log session start time Tue Sep 30 10:25:11 CDT 2003 Time Thread Level Category Message /table br /body/html tr Hope someone can guide me about what may be happening and what can be done about it. regards Rajat. -- Ceki Gülcü For log4j

Re: Questions on initial log4j instance

2003-09-29 Thread Ceki Gülcü
Limited -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

Re: Questions on initial log4j instance

2003-09-29 Thread Ceki Gülcü
in the JLS and not found it, though. -Kevin --- Ceki Gülcü [EMAIL PROTECTED] wrote: Moreover, in addition to serialization aspects, the keyword 'transient' has other meanings. It forces the JVM to re-reread the value of the variable from memory for each access, adding unnecessary overhead. -- Ceki

Re: different files

2003-09-26 Thread Ceki Gülcü
? -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

Fwd: Reminder: Hyper-Early Bird Registration Ends Soon

2003-09-26 Thread Ceki Gülcü
to be a part of it! Hyper-Early bird registration fee: US$499 After 30 September: US$599 After 20 October: US$799 After 16 November: US$899 Register today at http://www.apachecon.com/ We look forward to seeing you there! - Sally Khudairi -- Ceki Gülcü For log4j documentation consider

RE: Plans for supporting a build in level of trace

2003-09-25 Thread Ceki Gülcü
logging domains are documented? I'd really like to read about the concept(s). Thanks in advance. Mike -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003

RE: Plans for supporting a build in level of trace

2003-09-25 Thread Ceki Gülcü
in advance. Mike -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

Re: Override values from log4j.properties on jvm command line?

2003-09-25 Thread Ceki Gülcü
guess I'm using Log4J 1.2.8. -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

Re: Plans for supporting a build in level of trace

2003-09-24 Thread Ceki Gülcü
the log4j API is compared to JDK 1.4 logging. Paul Smith -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

Re: Closed appender issue on configuration reload

2003-09-24 Thread Ceki Gülcü
automatically... Regards Guðlaugur Stefán Egilsson Dimon Software http://www.dimonsoftware.com -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November

Re: Closed appender issue on configuration reload

2003-09-24 Thread Ceki Gülcü
is exclusive, client ports are not. -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

RE: logfactor5 download?

2003-09-24 Thread Ceki Gülcü
At 04:00 PM 9/24/2003 -0400, you wrote: Howdy, I thought it was included in the log4j download itself?? That is correct. Yoav Shapira Millennium ChemInformatics -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products

Re: Configuring a wrapper class for rolling policies

2003-09-23 Thread Ceki Gülcü
.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n but it doesn´t work. Thanks in advance -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import

Re: Logger and threads

2003-09-19 Thread Ceki Gülcü
your concerns. Matteo -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

Re: usage of ${xxx} properties in log4j.xml

2003-09-19 Thread Ceki Gülcü
=Append value=false/ Thanks in advance Fabio -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21 November http://apachecon.com

RE: Messages Going to Multiple Loggers

2003-09-19 Thread Ceki Gülcü
or log4j.logger.notify.additivity=false However, I tried switching to XML (which is much easier to read, anyway): logger name=notify additivity=false level value=error / appender-ref ref=email / /logger and that did it. Thanks for your responses! Dhruva --- Ceki Gülcü [EMAIL PROTECTED] wrote

Re: Advice needed

2003-09-17 Thread Ceki Gülcü
the archives. We are using jboss-3.0.4_tomcat-4.0.6 (i believe has log4j 1.2.2), JDK 1.4.1, running on NT Any advice would be welcome.. -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import

Re: Multiple loggers of different web applications in one web server

2003-09-16 Thread Ceki Gülcü
log4j.appender.A1.DatePattern='.'-MM-dd log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%d [%-5p] - %m%n And I use: log4j1.2 resin-2.1.10 j2sdk1.4.2_01 redhat linux 2.4.20 Is there anybody has the same problem? Any opinion is appreciate!pi -- Ceki Gülcü

Re: JAAS user

2003-09-16 Thread Ceki Gülcü
of privileges. So how this works and how can I bypass it? And does a means of doing what I try already exists? i.e. log the username of the current JAAS user in log files. Emmanuel Potvin Les consultants Parent et associés inc. (418)802-8439 -- Ceki Gülcü For log4j documentation consider

Re: log4j, JBoss, EJBs

2003-09-16 Thread Ceki Gülcü
the multiple calls, catch and ignore the exception, or hold a handle to the guard object and re-set the LoggerFactory each time (probably not necessary or desired). Jake -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop

Rod Waldhoff on commons logging...

2003-09-16 Thread Ceki Gülcü
http://radio.weblogs.com/0122027/2003/08/15.html This blogging thingy is pretty neat. -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import org.apache.Facetime; ApacheCon US 2003, 18-21

Re: [Fwd: tomcat 4.1.27 log4j 1.2.8 struts 1.1 = crash on logger.debug()]

2003-09-13 Thread Ceki Gülcü
://www.adligo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch

Re: customize exception stack trace output

2003-09-12 Thread Ceki Gülcü
to subclass that as well! Is there a simpler, more straight forward way? The only thing I want to change is the string representation of the throwable in a LoggingEvent. Thanks, Robert -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch

Re: [Fwd: tomcat 4.1.27 log4j 1.2.8 struts 1.1 = crash on logger.debug()]

2003-09-12 Thread Ceki Gülcü
-632-0568 http://www.adligo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908

Re: Syntax Verification and Velocity Logging to Console

2003-09-12 Thread Ceki Gülcü
runtime.log.logsystem.log4j.logger=org.apache.velocity And I am getting a velocity.log file in my working directory, just nothing in the console. Thanks, Matt -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp import

RE: REPOST: RollingFileAppender does not create backups on WebSphere 5 on Windows

2003-09-10 Thread Ceki Gülcü
of the backup files and reduce MaxBackupIndex. The MaxBackupIndex should be smaller than 10. However, it should still work with larger values. It is quite strange to see nothing happening with larger values. Thanks again. Tarek Nabil -Original Message- From: Ceki Gülcü [mailto:[EMAIL

Re: REPOST: RollingFileAppender does not create backups on WebSphere 5 on Windows

2003-09-09 Thread Ceki Gülcü
suggestions? Tarek M. Nabil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http

Re: J2SE 1.5, java.util.logging

2003-09-05 Thread Ceki Gülcü
-- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp See you in November at ApacheCon US

Re: swithing appenders at runtime without losing log messages

2003-09-05 Thread Ceki Gülcü
commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp See you in November at ApacheCon US 2003 in Las Vegas. http://apachecon.com

RE: Problem with Crimson parser

2003-09-04 Thread Ceki Gülcü
could not get it to work. I have attached my config file to this email in case you can figure out what is wrong with it. Thanks, Mark -Original Message- From: Ceki Gülcü [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 12:59 PM To: Log4J Users List Subject: Re: Problem

RE: Problem with Crimson parser

2003-09-04 Thread Ceki Gülcü
file from the distribution and it works fine with Crimson. I tried playing around with DOCTYPE and other preamable elements in my document but I could not get it to work. I have attached my config file to this email in case you can figure out what is wrong with it. Thanks, Mark -- Ceki Gülcü

Re: Problem with Crimson parser

2003-09-03 Thread Ceki Gülcü
the exception at the end of this message. Somehow, Crimson is not able to find the dtd using the SYSTEM identifier log4j.dtd. I noticed there was a recent commit that added a class UtilLoggingEntityResolver.java with the following comment: [snip] -- Ceki Gülcü For log4j documentation

Re: Problem with Crimson parser

2003-09-03 Thread Ceki Gülcü
for Crimson without having to use the latest CVS code? As an aside I don't think log4j.dtd is an invalid value for system identifier. I just looked in the W3C XML spec and it has an example with another such system identifier. -- Ceki Gülcü For log4j documentation consider The complete log4j

Re: AW: Problems with multiple Threads on DailyRollingFileAppender

2003-09-03 Thread Ceki Gülcü
] For additional commands, e-mail: [EMAIL PROTECTED] -- Ceki Gülcü For log4j documentation consider The complete log4j manual ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp See you in November at ApacheCon US 2003 in Las Vegas. http://apachecon.com

Re: log4j.xml Help

2003-09-01 Thread Ceki Gülcü
At 10:40 AM 8/29/2003 -0700, Rhugga wrote: Also, just the book you can buy from the log4j site cover the XML stuff pretty well? One can say with confidence that the XML configuration format is covered in great detail. The manual contains many example config files in both XML and properties

RE: Behaviour in Log4j when Logfile is deleted.

2003-08-29 Thread Ceki Gülcü
Log4j will never throw an exception through its printing methods (Logger.debug(), Logger.info(), ...). However, it will print a warning message on the console. That is the default behavior which can be customized using error handlers. It is entirely possible for the Java io API to silently

RE: Class FileWatchdog

2003-08-29 Thread Ceki Gülcü
The watchdog code in log4j 1.2.x does not have a notion of a lifecycle. In particular, LogManager.shutdown does not stop the watchdog thread. Actually, I don't think there is a way to stop a watchdog thread which is definitely a serious shortcoming of log4j watchdogs. This omission can prevent

Re: Behaviour in Log4j when Logfile is deleted.

2003-08-29 Thread Ceki Gülcü
Reopening the file? That is an interesting suggestion. Instead of reopening at each write, one could close and reopen the file every 10'000 writes or every 10 minutes which is ever comes first. At 02:07 PM 8/29/2003 +0100, you wrote: (I didn't see the original message, so forgive me if this is not

RE: Log file location

2003-08-28 Thread Ceki Gülcü
and it has log4j.xml in default/conf folder. Probably even my application is taking log4j.xml from that location by default. I need to check that. Anyone who has implemented log4j for their applications on JBoss, pl. suggest. Sriram -Original Message- From: Ceki Gülcü [mailto:[EMAIL

Re: SizeBasedTriggeringPolicy $ TimeBasedRollingPolicy

2003-08-28 Thread Ceki Gülcü
Hello Delphina, TimeBasedRollingPolicy is somewhat special. It is declared as: public class TimeBasedRollingPolicy extends RollingPolicySkeleton implements TriggeringPolicy { } Thus, it combines both a rolling policy and a triggering policy. Look at the tests cases under

RE: Log file location

2003-08-28 Thread Ceki Gülcü
created anywhere. And there are no errors throws. Any idea what could be the problem? Can you pl. suggest a solution? Sriram -Original Message- From: Ceki Gülcü [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 12:58 PM To: Log4J Users List Subject: RE: Log file location We

RE: Log file location

2003-08-28 Thread Ceki Gülcü
: Ceki Gülcü [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 8:09 PM To: Log4J Users List Subject: RE: Log file location Sriram, We have not yet added the code to automatically read configuration files when a repository is first accessed. However, nothing prevents you from configuring

Re: config file reloading

2003-08-28 Thread Ceki Gülcü
Two short comments. 1) My name is Ceki not Ciki. 2) You can use LogManager.resetConfiguration() to reset or clear the existing config before you read the new config file. HTH, At 08:58 AM 8/28/2003 -0700, Larry Young wrote: Jake, A quick question about your past use of

Re: Single Logger, multiple threads

2003-08-27 Thread Ceki Gülcü
Tom, We have addressed this concurrency problem in log4j version 1.3. Depending on how you name your loggers, you might have a small gain. Regardless how much we optimize log4j, calling it thousands, millions or even billions of times will have a computational cost. My advice to you would be to

RE: Log file location

2003-08-27 Thread Ceki Gülcü
Given your observation, it is safe to say that your log4j.properties file is not being read. At 07:22 PM 8/27/2003 +0530, sriram wrote: I look at JBoss log - no errors reported there. I used log4j.debug=true in log4j.properties, but there is no internal debugging output. I tried various

Re: Bug#22055: Cannot catch PropertyConfigurator's IOException

2003-08-27 Thread Ceki Gülcü
This is a known weakness of the existing log4j configurators which I intend to fix in log4j 1.3. At 10:35 AM 8/27/2003 -0500, Desai, Chetan P [ITS] wrote: I had posted the following bug but don't know if its truly a bug... Sorry was not part of this mailing list earlier - so don't have any of

RE: Log file location

2003-08-27 Thread Ceki Gülcü
Sriram, JBoss already includes log4j. Are you including log4j.jar in WEB-INF/lib? I think jboss is ignoring your log4j.jar in WEB-INF/lib because log4j classes are already loaded and available. Thus, since your log4j.jar is not being loaded into memory, the static initializer of LogManager

Re: Log file location

2003-08-27 Thread Ceki Gülcü
Is the properties file being read at all? At 06:25 PM 8/27/2003 +0530, sriram wrote: Hi, I am unable to set log file location. I searched the forum for old messages and found some. I tried the way it was mentioned in those messages, but still my problem is not solved. My log4j.properties file

Re: Why is ThrowableInformation transient in LoggingEvent?

2003-08-25 Thread Ceki Gülcü
Thomas , The throwables do not preserve the stack trace after serialization, so they are useless on the server side. That is why the throwable variable is transient. However, there is another variable, throwableInfo, which preserves stack trace information after serialization. By the way, we

Re: Location of log files with Tomcat

2003-08-25 Thread Ceki Gülcü
I think there is an easier way. You can use log4j's variable substitution mechanism: All option values admit variable substitution. The syntax of variable substitution is similar to that of Unix shells. The string between an opening ${ and closing } is interpreted as a key. The value of the

Re: LoggingEvent MDC

2003-08-23 Thread Ceki Gülcü
that will do it for me... I'm using a JMS appender to send LoggingEvents from a servlet to a message driven bean. The bean will log the event to a database. Of course, I want to log the servlet's MDC (contained in the Logging Event), not the bean's. MDC.getContext only gets me the bean's Hashtable. Ceki

Re: NullPointerException

2003-08-23 Thread Ceki Gülcü
Jeff, The text of your question is not very clear, at least to me. Are you observing a logging problem or a problem with the application itself? Which version of the JDK are you using? By the looks of your stack trace, it seems that log4j is trying to log an exception. Let us call this

Re: log4j dependencies on Java 1.3/1.4?

2003-08-21 Thread Ceki Gülcü
Hello Jim, Log4j version 1.2.8 is compatible JDK 1.1 and later. At 12:35 PM 8/21/2003 -0500, Jim Garrison wrote: I want to use log4j in a java stored procedure on Oracle 8.1.7. The java environment provided by Oracle in this release is at the 1.2 level. Will log4j work in this environment, or

Fwd: Log4J400 - Appender for IBM AS/400 MessageQueue and DataQueue

2003-08-20 Thread Ceki Gülcü
From: Gurkha . [EMAIL PROTECTED] Subject: Log4J400 - Appender for IBM AS/400 MessageQueue and DataQueue Date: Tue, 19 Aug 2003 16:41:02 -0400 Hello, I have written appenders for the AS/400 (aka IBM iSeries) MessageQueue and DataQueue. Due to dependencies, I cannot submit it to the Apache Log4J

Re: Problem with download

2003-08-18 Thread Ceki Gülcü
If you encounter a problem downloading the example file please contact me directly. This list is *not* the right venue for discussing technical problems with the qos.ch site. At 09:03 AM 8/18/2003 -0700, you wrote: Najib, I just downloaded it twice on Thursday (the twice was my

Re: 2 apps, 2 sets of files, common util classes

2003-08-14 Thread Ceki Gülcü
Do these two applications run in a servlet container (e.g. Tomcat) or an EJB container (e.g JBoss)? At 01:34 PM 8/14/2003 +0100, you wrote: Hi all, We have two applications that should be writing to different log files in different directories. These applications use a set of common utility

RE: log4j: dump wrap-around buffer of all log messages

2003-08-14 Thread Ceki Gülcü
At 03:23 PM 8/11/2003 +0200, you wrote: From: Hancke Patrick [mailto:[EMAIL PROTECTED] [...] The wrap-around buffer (think of it as an array of let's say 500 log messages) contains at any moment, the last 500 log messages. The idea is that the logger has 2 log levels: one which determines

Re: Location of log files

2003-08-14 Thread Ceki Gülcü
Have you tried using system properties? Log4j performs variable substitution in XML files as well. At 01:44 PM 8/5/2003 -0400, Grum Ketema wrote: Hello I could not find a simple solution to this problem. I deploy a web application (a War file) in a web server (iplanet) and an ejb application (

Re: Comments and Questions section of your book

2003-08-14 Thread Ceki Gülcü
Craig, I could have indeed dwelled more on SocketAppender and discussed the SockerServer application instead of just SimpleSocketServer. I believe SockerServer was omitted because it was considered as uninteresting and/or too technical. Indeed, SockerServer relies on multiple

  1   2   3   4   5   6   7   8   >