log4j 1.2.14 release

2006-09-18 Thread Curt Arnold
The Apache Logging Services project (http://logging.apache.org) is happy to announce the availability of log4j version 1.2.14. In this release, AsyncAppender was rewritten to eliminate reported deadlocks and to provide an option to not block if the event queue becomes full, SyslogAppender

Re: log4j doesn't log files when weblogic is run as a windows service.

2006-09-18 Thread Jacob Kjome
A few quesions/comments... 1. What version of Log4j are you using? I think at some point, there was a feature implemented which allowed Log4j to create any needed directories. This hadn't been the case previously. I think it got implemented maybe post 1.2.9, but I'm not positive. So, it migh

Re: How to filter specific characters to not to log

2006-09-18 Thread Curt Arnold
XMLLayout in both 1.2 and 1.3 can produce "bad" XML in several scenarios as reported in bugs 29244, 34875 and 37560. Since I was an XML guru in a former life, I know of additional holes in the implementation. If you'd be interested in testing it, I could take a shot at re-implementing XML

Re: log4j doesn't log files when weblogic is run as a windows service.

2006-09-18 Thread Mirza Abbas Raza
Hi Jake, First of all, thanks so much for your reply. I appreciate it. I am checking if the logs are getting created in the default directory. I will come back to you on this. - Abbas - Original Message From: Jacob Kjome <[EMAIL PROTECTED]> To: Log4J Users List ; Mirza Abbas Raza <

Re: log4j doesn't log files when weblogic is run as a windows service.

2006-09-18 Thread Jacob Kjome
I'll bet they *do* get created. You just don't know where to look. What does your config look like? Does it use relative paths to the files? Keep in mind, relative paths are relative to the directory from which the JVM started. So, if you start on the command line, the path in the config file

log4j doesn't log files when weblogic is run as a windows service.

2006-09-18 Thread Mirza Abbas Raza
All, The log4j framework doesn't seem to write to the logs when weblogic is run as windows service. As I understand, the two things needed for the log4j framework are: - log4j.jar in classpath - log4j.properties as -Dlog4j.configuration. It contains the necessary configuration for logging. Bot

Re: How to filter specific characters to not to log

2006-09-18 Thread Praveen Kumar Hasthalapuram
Hi, We will get these characters from the devices and these data we will log. These logged data will be used to generate xml reports. With some devices we are getting some control characters (some spl symbols) and these are causing xml report to fail. Is it possible to strip this characters or fi

Re: setRepositorySelector, guard and redeploy

2006-09-18 Thread jan_bar
Thank you Jake for your help. My options are now clear. Jan "Jacob Kjome" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Quoting jan_bar <[EMAIL PROTECTED]>: > > > Thanks for your extensive answer, see inline.. > > > > > Well, when you are using a repository selector, the idea is t

Re: setRepositorySelector, guard and redeploy

2006-09-18 Thread Jacob Kjome
Quoting jan_bar <[EMAIL PROTECTED]>: > Thanks for your extensive answer, see inline.. > > > Well, when you are using a repository selector, the idea is that you > > have Log4j in a position where it is not part of your app, but part > > of the server; otherwise there's no point to using a reposito

RE: How configure the categories for console, logFile and htmlFile showing different levels

2006-09-18 Thread Jacob Kjome
Quoting David <[EMAIL PROTECTED]>: > Dear Jacob, > > Thanks for your comments, I have addes this new features on Bugzilla: > > http://issues.apache.org/bugzilla/show_bug.cgi?id=40532 > Like I said, I doubt this will get into Log4j-1.2.xx unless you provide a patch that doesn't break existing

Re: Confusion: Late 1.3 release, SLF4J, LogBack, etc

2006-09-18 Thread Curt Arnold
On Sep 18, 2006, at 6:31 AM, Benoitx wrote: Hi *, I need some light shed on this... What should a user do nowadays? - I have seen comments about slf4j, is it an "official" or recommended way to do things? If you want to be able to select at configuration time between the supported log

Re: How to filter specific characters to not to log

2006-09-18 Thread Bender Heri
Can you explain where these characters occur? Are they within a String supplied as msg argument in log calls? Or where? Heri > -Original Message- > From: Praveen Kumar Hasthalapuram [mailto:[EMAIL PROTECTED] > Sent: Monday, September 18, 2006 4:02 PM > To: log4j-user@logging.apache.org >

How to filter specific characters to not to log

2006-09-18 Thread Praveen Kumar Hasthalapuram
Hi, I want to filter some specific characters (special chars) , so that it should not log. Can anyone suggest me how to it? Thanks, Praveen

Re: how to define my own log file name

2006-09-18 Thread Norbert Toth-Gati
Hi, A good approach as you said, would be to extend the appender you need. Regards, Norbert On 9/18/06, kingwell <[EMAIL PROTECTED]> wrote: Hi all, I want to define the log file name pattern like mmdd-mylog.log, how to do so using log4j? As the DailyRollingFileAppender is just append the

how to define my own log file name

2006-09-18 Thread kingwell
Hi all, I want to define the log file name pattern like mmdd-mylog.log, how to do so using log4j? As the DailyRollingFileAppender is just append the yyymmdd pattern to the end of the file name, something like mylog.log.mmdd. Do I need to write my own appender class, or can anyone provide so

Confusion: Late 1.3 release, SLF4J, LogBack, etc

2006-09-18 Thread Benoitx
Hi *, I need some light shed on this... What should a user do nowadays? - I have seen comments about slf4j, is it an "official" or recommended way to do things? Will the Apache Log4J "comply" to the facade or at least work with the writers of slf4j? - release 1.3 promises a lot of goodies, shou

Enhanced FileAppender (Was: Separate log files per thread.)

2006-09-18 Thread Bender Heri
This problem arises often. Some want to separate the log files of servlets by different criterias (sessionID, userID, etc.), others (like me) have a scheduler which fires different tasks on different customers where the log output should be separated. I thought one could enhance the file append

RE: How configure the categories for console, logFile and htmlFile showing different levels

2006-09-18 Thread David
Dear Jacob, Thanks for your comments, I have addes this new features on Bugzilla: http://issues.apache.org/bugzilla/show_bug.cgi?id=40532 About your suggestions, I have a general idea about what you mean in order to specify the oposite situation (so, limit my classes and for oth