size of the logger?

2003-10-06 Thread Charles
Hello, I am trying to learn more on how the logger works internally. If I create a new logger (Logger logger = Logger.getLogger(myLogger);) does it create a circular buffer that holds x amount of log messages (or maybe a maximum size in kb)? If so, what is the size of this buffer and can it be

Newbie : Instantiation Problem.

2001-04-12 Thread Charles Dunn
Hi, As I understand, there are two ways to instantiate category: 1.Create an instance in every class.(Does this not affect the performance in large J2EE applications?) 2.Create a static class for Category and then use it.(This might give problems in EJB and multithreaded environments). Now,

Repeat logs

2001-06-17 Thread Charles Mégnin
troubleshooting page (or to the solution) Thanks Charles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Question about setup

2002-01-02 Thread Charles Hudak
. YOu just need to set up the appenders to filter logging for only their package and you will have done what you need. Just make sure that the category uses the package naming heirarchy as suggested in the docs. Regards, Charles -Original Message- From: Christopher Randall [mailto:[EMAIL

RE: Log4J encapsulation is poor

2002-01-04 Thread Charles Hudak
to make the interface public and all internal data and methods private which makes extensibility very poor. /rant Charles -Original Message- From: Kevin Steppe [mailto:[EMAIL PROTECTED]] Sent: Friday, January 04, 2002 12:21 PM To: [EMAIL PROTECTED] Subject: Re: Log4J encapsulation is poor

RE: logging only occurs from one package...others ignored.

2002-02-03 Thread Charles Horan
I'm sure this is nitpicking but shouldn't the file protocol have two /'s instead of one ? ie file://d:/fonem/dev/bin/log4j.properties rather than file:/d:/fonem/dev/bin/log4j.properties -Original Message- From: Steven Robertson [mailto:[EMAIL PROTECTED]] Sent: February 3, 2002 6:49

FileAppender

2003-05-29 Thread Charles Hudak
make it myself)? All you really need to do is a File.createDirs() in FileAppender.setFile(...). Charles Hudak Software Engineering Manager Arrowhead General Insurance/YouZoom, Inc. [EMAIL PROTECTED] 858.320.6800x6344

RE: Config in app server envs

2003-08-27 Thread Charles Hudak
There are obviously many ways to do this. The way I do it is I created a LogInitializer servlet that is loaded on startup and uses a single configuration file. Since I'm really only concerned about the logging from MY code and not any of the open source/other components that I have installed,

RE: Behaviour in Log4j when Logfile is deleted.

2003-08-29 Thread Charles Hudak
log4j is fail stop. Logging doesn't and shouldn't throw an exception to your application and cause it to crash. -Original Message- From: Raveendranath, Rohith (LNG - AUS) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 17:12 To: 'Log4J Users List' Subject: Behaviour in Log4j

RE: Behaviour in Log4j when Logfile is deleted.

2003-08-29 Thread Charles Hudak
-Original Message- From: Charles Hudak [mailto:[EMAIL PROTECTED] Sent: Friday, 29 August 2003 10:23 AM To: 'Log4J Users List' Subject: RE: Behaviour in Log4j when Logfile is deleted. log4j is fail stop. Logging doesn't and shouldn't throw an exception to your application and cause

RE: Bug in JDBCAppender

2003-09-05 Thread Charles Hudak
Actually, if you look at the code, the connection is closed in the finalize method, not after every call to the execute method so the connection will only be closed when the object is GC'd. The code is actually fairly fragile in that if the connection times out (and is summarilly closed), the

RE: filter some class to one file, different class to another fil e

2003-10-29 Thread Charles Hudak
Support Ceki and buy the manual. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 13:37 To: [EMAIL PROTECTED] Subject: filter some class to one file, different class to another file Hello, I'm new to configuring my log4j.xml file,

RE: basic question from a newbie

2003-10-29 Thread Charles Hudak
Most of the examples show the 'programmatic' use of Log4j. In most real applications, the logging is integrated into the code and the controlled externally via the configuration. In any event, this is how I typically use loggers in my classes: package com.mystuff; public class MyClass {

RE: Can log4j work with J++ 6.0 from Microsoft?

2003-11-05 Thread Charles Hudak
Doubtful since J++ is stuck at something like JDK 1.1.7 which didn't include the Collections libraries, among other things, that JDK 1.2 added. -Original Message- From: Chang, Betty [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 15:39 To: [EMAIL PROTECTED] Subject: Can log4j

RE: automatic reload

2003-11-11 Thread Charles Hudak
I created one of these for our application. It also handles clustered servers so if you have multiple servers using the same config, it will do a reload on all of them by hitting the main url (useful if you are behind a firewall or using a big ip box, like we are). You can also have specific

RE: automatic reload

2003-11-11 Thread Charles Hudak
Looks the attachment got filtered out. If anyone is interested, they can email me for the source. Sorry, but I don't have access to the cvs repository behind our firewall to upload it. -Original Message- From: Charles Hudak [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 15:57

RE: automatic reload

2003-11-12 Thread Charles Hudak
gotten grip on the automatic feature of log4j, I started liking it. But it seems servlets is the way to go at this time. However my servlet isn't such a fancy one like yours, so I would be interested in the source! Tom Charles Hudak wrote: Looks the attachment got filtered out. If anyone

RE: No appender error... NEED HELP

2002-02-06 Thread PAULET Charles (DEVOTEAM)
Hi, It seems you have a problem with the definition of the path to your configuration files. Because this error is typical of this. try to add the /WEB-INF/classes path to your classpath. Regards, Charles -Message d'origine- De: Thanh Duong Date

RE: issue with xml configuration

2002-02-20 Thread PAULET Charles (DEVOTEAM)
: Marie Jung Charles, It looks like you are french, no? Merci, mais je ne comprends pas votre réponse. Je travaille sur solaris 8, d'après ce que j'ai compris sur le classloader de Tomcat, la variable d'environnement UNIX CLASSPATH est complètement ignorée

RE: appenders in different levels? [newbie]

2002-02-26 Thread PAULET Charles (DEVOTEAM)
-Message d'origine- De: Adam Krieg Date: mardi 26 février 2002 16:41 À: 'Log4J Users List' Objet: RE: appenders in different levels? [newbie] Markus, I have a logging system where only fatal errors are sent