Backup files are not getting created

2006-02-08 Thread Praveen Kumar Hasthalapuram
Hi All, Backup files are not getting created. After reaching the 10mb its rolling the same file. Is anything wrong with the configuration? Thanks, Praveen

Re: Keeping debug-logs in error case

2006-02-08 Thread Liz
Spranger, Steffen gft-systems.de> writes: Hallo, I log communication to an external system with e.g. logger.debug(...). In a catch-block I log errors by logger.error(...). What I want is, not to keep all the debug-messages in good case, but = keeping them in an error-case. I'm wond

RE: Wrapping logger

2006-02-08 Thread DeSantis, MJ Mark @ IS (7179)
I understand now! Thanks a bunch Javier and Curt. That makes things much simpler and best part about it is that I get to delete a bunch of unneeded classes now :) Thanks again, Mark -Original Message- From: Curt Arnold [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 1:19 PM

Re: Wrapping logger

2006-02-08 Thread Curt Arnold
On Feb 8, 2006, at 12:47 PM, Javier Gonzalez wrote: Do you think refactoring to a less "extended" approach is a possibility. At first glance, I'd propose using two loggers: }catch(Exception ex){ // traditional logger, with stack trace ourLogger.fatal("Problem in such-and

Re: Wrapping logger

2006-02-08 Thread Javier Gonzalez
On 2/8/06, DeSantis, MJ Mark @ IS (7179) <[EMAIL PROTECTED]> wrote: > > is for nice, user-friendly, user-understandable, messages. So in other > words > if we, for instance, caught an exception and wanted the stacktrace to go > to > the file but we still wanted something for the user to show up in

RE: Wrapping logger

2006-02-08 Thread DeSantis, MJ Mark @ IS (7179)
I think I see your point - but I'll discribe our situation anyway and you tell me what you think might be a resonable solution. We have a window (advisory window) that is basically similar to chainsaw but it's integrated into our program and it only shows logging events that pass a filter which f

Re: Issue with using both the config files (log4j.xml & log4j.properties)

2006-02-08 Thread Praveen Kumar Hasthalapuram
Thanks again Javier.. --Praveen On 2/8/06, Javier Gonzalez <[EMAIL PROTECTED]> wrote: > > I've used it in both windows and linux with equal success :) > > I don't have a solaris machine handy, but I'd guess it works, too. > > On 2/8/06, Praveen Kumar Hasthalapuram <[EMAIL PROTECTED]> wrote: > >

Re: Issue with using both the config files (log4j.xml & log4j.properties)

2006-02-08 Thread Javier Gonzalez
I've used it in both windows and linux with equal success :) I don't have a solaris machine handy, but I'd guess it works, too. On 2/8/06, Praveen Kumar Hasthalapuram <[EMAIL PROTECTED]> wrote: > > One more basic question, > Will all platforms support configuring log4j.xml? > Like windows, solari

Re: Wrapping logger

2006-02-08 Thread Curt Arnold
I strongly recommend avoiding it. Many people feel that the need to add a new level when they are really trying to control the audience that receives the message, not the significance of the message to the audience. If you are trying to control the audience, you can accomplish that through

Re: Issue with using both the config files (log4j.xml & log4j.properties)

2006-02-08 Thread Praveen Kumar Hasthalapuram
One more basic question, Will all platforms support configuring log4j.xml? Like windows, solaris and Linux? Thanks, Praveen On 2/8/06, Praveen Kumar Hasthalapuram <[EMAIL PROTECTED]> wrote: > > Thanks Javier. > > -- Praveen > > On 2/8/06, Javier Gonzalez <[EMAIL PROTECTED]> wrote: > > > Exactly.

Re: Issue with using both the config files (log4j.xml & log4j.properties)

2006-02-08 Thread Praveen Kumar Hasthalapuram
Thanks Javier. -- Praveen On 2/8/06, Javier Gonzalez <[EMAIL PROTECTED]> wrote: > Exactly. > > cheers, > > -- > Javier González Nicolini > > On 2/8/06, Praveen Kumar Hasthalapuram <[EMAIL PROTECTED]> wrote: > > > > Oh it means, I need to transform entire properties to xml file right? > > > > Reg

Re: Issue with using both the config files (log4j.xml & log4j.properties)

2006-02-08 Thread Javier Gonzalez
Exactly. cheers, -- Javier González Nicolini On 2/8/06, Praveen Kumar Hasthalapuram <[EMAIL PROTECTED]> wrote: > > Oh it means, I need to transform entire properties to xml file right? > > Regards, > Praveen > > On 2/8/06, Javier Gonzalez <[EMAIL PROTECTED]> wrote: > > > > On 2/8/06, Praveen Kum

Wrapping logger

2006-02-08 Thread DeSantis, MJ Mark @ IS (7179)
If I wanted to provide my own logger class which provided extra logging method calls associated with custom levels for my application, what is the best way to wrap log4j's Logger class? Do I have to be concerned with implementing LoggerFactory? If anyone has done this please let me know and expla

Re: Issue with using both the config files (log4j.xml & log4j.properties)

2006-02-08 Thread Praveen Kumar Hasthalapuram
Oh it means, I need to transform entire properties to xml file right? Regards, Praveen On 2/8/06, Javier Gonzalez <[EMAIL PROTECTED]> wrote: > > On 2/8/06, Praveen Kumar Hasthalapuram <[EMAIL PROTECTED]> wrote: > > > > Hi All, > > > > Currently we are using *log4j.properties* in our product, we h

Re: Issue with using both the config files (log4j.xml & log4j.properties)

2006-02-08 Thread Javier Gonzalez
On 2/8/06, Praveen Kumar Hasthalapuram <[EMAIL PROTECTED]> wrote: > > Hi All, > > Currently we are using *log4j.properties* in our product, we have several > log files with respect to modules. > We need to use *filters* for one of the *module* (Say module_1) only. > So, i have configured *log4j.xml

Issue with using both the config files (log4j.xml & log4j.properties)

2006-02-08 Thread Praveen Kumar Hasthalapuram
Hi All, Currently we are using *log4j.properties* in our product, we have several log files with respect to modules. We need to use *filters* for one of the *module* (Say module_1) only. So, i have configured *log4j.xml* for this module alone to *filter* the specific messages and remaining modules