RE: How to implement multiple loggers per class?

2006-04-24 Thread Bender Heri
Hi you are free to choose a logger's name as you like. The convenience to name the loggers by the FQN of the surrounding class is useful for your first goal (debugging log). To treat some special log outputs I suggest to introduce a separate logger with a clear name, let's say UserAudit. The

Logging of specific session in web app.

2006-04-24 Thread Olofsson, Magnus
Hi. Is it possible to control the logging level for a specific session of a web application? Scenario: I have a Tomcat server hosting a number of web applications. One of the web application is usually handling 300 simultaneously active sessions (users) at peak times. Needless to say it is not

dailyrollingfileappender - roll at given hour

2006-04-24 Thread Norbert Toth-Gati
Hi, Is there a possibility to set the rolling of a file at a given hour, for ex. at 15:00 hours? Is this feature supported already? Thanks in advance, Norbert

Re: java.security.AccessControlException when use log4j in applet

2006-04-24 Thread James Stauffer
You could use a socket appender to send the logs to the server. On 4/22/06, Swati Das [EMAIL PROTECTED] wrote: Daling Xu daling.xu at sonexent.com writes: Hi, All I am considering using log4j in my project, which is a web-application. I used j2sdk1.4, servlet 2.3 and java plug in

Limit logging of an error

2006-04-24 Thread Javier Gonzalez
Hi, is there a way to configure an appender so that it only logs a certain error message only once? (for instance, not have a mailbox overrun with the same error message over and over, in the case of a SMTPAppender). TIA, -- Javier González Nicolini

Re: Limit logging of an error

2006-04-24 Thread James Stauffer
You would probably have to implement your own appender but you might be able to do it by implementing your own filter. On 4/24/06, Javier Gonzalez [EMAIL PROTECTED] wrote: Hi, is there a way to configure an appender so that it only logs a certain error message only once? (for instance, not

Re: How to implement multiple loggers per class?

2006-04-24 Thread James Stauffer
You may be able to use the same loggers for 1 2. You could send all logs to a file appender and an email appender with a threshold set on the email appender. On 4/21/06, Barbalace, Richard [EMAIL PROTECTED] wrote: Hello, all. I am working on a large-scale web application where we want

Dynamic Log File - Locked by WebServer

2006-04-24 Thread Silvana Lima
Hello, I am back with a problem due to a solution that I implemented with FileAppender. I will try to resume the situation: I am trying to figure out if it is possible to create a log file dynamically just when a java process starts with the Process ID (BPM) as part of the name of the log file.

Re: Logging of specific session in web app.

2006-04-24 Thread Jacob Kjome
Well, the repository selector would require access to each session object. Even if you could do this, I wouldn't recommend it. 300 or more separate logger repositories seems to me like runtime bloat you don't want. I wonder if you could write a filter for an appender which could be