Re: Startup Error Messages

2003-03-10 Thread Daniel Serodio
, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- []'s Daniel Serodio CheckForte 5582-6016

Re: LevelMatchFilter

2003-02-28 Thread Daniel Serodio
so that logEvent is called for any of these levels, it should be logged, others ignored. LevelRangeFilter? Since I am a newbie, pardon me, if I have asked something which is well-known, and please point me to the document that explains this. -Ali -- []'s Daniel Serodio CheckForte 5582

Re: Knowing if doConfigure was called

2003-02-18 Thread Daniel Serodio
We use boolean wasConfigured = Logger.getRoot().getAllAppenders().hasMoreElements(); []'s Daniel Serodio On Tue, 2003-02-18 at 16:08, Lutz Michael wrote: My department creates components used by applications, some of which use Log4j and some of which do not. If Log4j is used, we don't want

Re: IsDebugEnabled

2003-02-11 Thread Daniel Serodio
will then throw it away. But it will have been created already. Also, you will tipically only check isDebugEnabled(), but not isInfoEnabled(), etc. Use it only when you're concatenating many strings, or calling (directly or indirectly) an expensive toString() method. Hope this helps, Daniel Serodio On Tue

Don't hit reply when you're not replying

2003-02-07 Thread Daniel Serodio
it makes a mess out of the messages list. Am I the only one who groups messages by thread? Am I the only one annoyed by this? -- Daniel Serodio [EMAIL PROTECTED] CheckForte - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: How to truncate characters in the layout of priority

2003-02-03 Thread Daniel Serodio
Use %3p for the first 3 characters of the priority. []'s Daniel Serodio On Mon, 2003-02-03 at 11:43, Abramson, Rami wrote: Hello, How is it possible in the property file to define a layout that outputs only the first 3 characters of the priority? Output lines for example, DEB

RE: How to truncate characters in the layout of priority

2003-02-03 Thread Daniel Serodio
Actually, no. I always use %5p. []'s Daniel Serodio On Mon, 2003-02-03 at 13:17, Abramson, Rami wrote: Have tried it and it does not work. Have you tried it? thank you, Rami -Original Message- From: Daniel Serodio [mailto:[EMAIL PROTECTED]] Sent: Monday, February

Re: HI ceki

2003-01-31 Thread Daniel Serodio
/ /filter ...or something like that []'s Daniel Serodio On Fri, 2003-01-31 at 17:45, vijay reddy wrote: HI , I want to generate 5 log files depends on levels in the same class. (ex: Logger logger = Logger.getLogger(com.abcd); logger.debug(debug message); 1. debug message will go

Re: Logging multiple strings

2003-01-27 Thread Daniel Serodio
, %2m ) . I know there is no such thing in the package right now, and I don't expect it any time soon, but do you think it would be feasible? And would it be useful, or am I the only one with that kind of requirements? Serge Arsenault -- Daniel Serodio [EMAIL PROTECTED] CheckForte

Re: Full documentation of attributes

2003-01-27 Thread Daniel Serodio
a setFile(...) method, which means that there is a File attribute that can be configured. []'s Daniel Serodio Ashraf Fouad Ayoub Senior Developer Raya Software 1 Abdel Hameed Lotfy St., Nasr City, Cairo 11371, Egypt Phone:* (202) 670-3301/2/3/4/6/8 Ext. 295 Fax: * (202

Re: Creating the rotated log files even if there is no accesses

2003-01-24 Thread Daniel Serodio
. It is org.apache.log4j.varia.ExternallyRolledFileAppender The ExternallyRolledFileAppender class seems to implement a client/server solution. I need to use another approach. Thanks. Regards, Nuno Carvalho -- Daniel Serodio [EMAIL PROTECTED] CheckForte -- To unsubscribe, e-mail

Re: Creating the rotated log files even if there is no accesses

2003-01-24 Thread Daniel Serodio
We use FileAppender and roll it over with a crontab job, along the lines of: cp $logfile $logfile-$(date -I) cat /dev/null $logfile Hope this helps. []'s Daniel Serodio On Fri, 2003-01-24 at 11:49, Nuno Carvalho wrote: Daniel Serodio wrote: On Fri, 2003-01-24 at 10:54, Nuno Carvalho

RE: additivity in PropertyConfigurator

2003-01-22 Thread Daniel Serodio
Shouldn't PropertyConfiguration report this as an error? []'s Daniel Serodio On Wed, 2003-01-22 at 17:43, Ebersole, Steven wrote: additivity is an attribute of the logger/category, not the appender... As such, instead of: log4j.category.com.printrak.me4=DEBUG, R4

Re: use my own appender

2003-01-14 Thread Daniel Serodio
with PropertyConfigurator.configure(an object of my own appender). In the new version this method-signature doesn't exists. What can I do, to use my appender? I have nothing found in the short documentation. Thanks Steffen -- Daniel Serodio [EMAIL PROTECTED] CheckForte -- To unsubscribe, e-mail: mailto

Re: How to rename the rolled over file?

2002-12-26 Thread Daniel Serodio
:[EMAIL PROTECTED] -- []'s Daniel Serodio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Not logging to file when it no more exists

2002-12-20 Thread Daniel Serodio
] -- []'s Daniel Serodio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Action on one particular level

2002-12-19 Thread Daniel Serodio
-mail: mailto:[EMAIL PROTECTED] -- []'s Daniel Serodio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: How to log Exceptions with PatternLayout ?...

2002-12-19 Thread Daniel Serodio
in the Fatal debug level when working with PatternLayout? I think what you need is: logger.error(Crash!, exception) instead of logger.error(exception) thank you, Rami A. -- []'s Daniel Serodio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands

Re: change the configuration file 'delay' time during runtime

2002-12-19 Thread Daniel Serodio
A. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- []'s Daniel Serodio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Log4j Configuration with Servlet

2002-12-12 Thread Daniel Serodio
) call to do the same. Yoav Shapira Millennium ChemInformatics -- []'s Daniel Serodio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: mal-formed XML

2002-11-14 Thread Daniel Serodio
: mailto:log4j-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:log4j-user-help;jakarta.apache.org -- []'s Daniel Serodio -- To unsubscribe, e-mail: mailto:log4j-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:log4j-user-help;jakarta.apache.org

Re: InvalidClassException

2002-10-24 Thread Daniel Serodio
-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:log4j-user-help;jakarta.apache.org -- []'s Daniel Serodio -- To unsubscribe, e-mail: mailto:log4j-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:log4j-user-help;jakarta.apache.org

RE: ConsoleAppender and System.{out,err}.println

2002-10-23 Thread Daniel Serodio
. At 16:19 22.10.2002 -0300, Daniel Serodio wrote: I'm maintaining a Java app with tons of System.out.println's all around, and I'm using log4j in my (new) code. If I setup log4j to use a ConsoleAppender, will log4j's and println's output be intermixed in a predictible way? I mean, will each

RE: ConsoleAppender and System.{out,err}.println

2002-10-23 Thread Daniel Serodio
, thought I'll fix it when I need the fix. From what I gathered from those e-mails, the best solution would be to use LogLog.setPrintStream(PrintStream), but when I tried it I noticed this method was not implemented! -- []'s Daniel Serodio -- To unsubscribe, e-mail: mailto:log4j-user-unsubscribe

Re: Log4j: Using servlet to init, but how to reload???

2002-10-23 Thread Daniel Serodio
is restarted. Is the something I can code or something I can configure to change this? Much thanks, Chuck -- To unsubscribe, e-mail: mailto:log4j-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:log4j-user-help;jakarta.apache.org -- []'s Daniel Serodio

ConsoleAppender and System.{out,err}.println

2002-10-22 Thread Daniel Serodio
have any suggestions for using System.out.println and log4j together in the same app? Thanks in advance -- []'s Daniel Serodio -- To unsubscribe, e-mail: mailto:log4j-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:log4j-user-help;jakarta.apache.org

Re: Log4j Version

2002-10-04 Thread Daniel Serodio
. Regards. Manish Gupta. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- []'s Daniel Serodio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Multiple appenders for a category

2002-09-30 Thread Daniel Serodio
e-mail resten av livet på www.yahoo.se/mail Busenkelt! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- []'s Daniel Serodio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: multiple categories same config file

2002-09-09 Thread Daniel Serodio
] __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- []'s Daniel Serodio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

Re: Log4j SocketServer

2002-08-27 Thread Daniel Serodio
(depending on socket status (deleted or not)).? Thanks El-Yamine Kettal -- []'s Daniel Serodio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Filtering by Priority

2002-05-15 Thread Daniel Serodio
root priority value=debug/ appender-ref ref=A1 / appender-ref ref=A2 / /root /log4j:configuration Daniel Serodio [EMAIL PROTECTED] wrote: Hi! How can I make logging requests with priority DEBUG and INFO go to one appender, and WARNING, ERROR

Filtering by Priority

2002-05-14 Thread Daniel Serodio
Hi! How can I make logging requests with priority DEBUG and INFO go to one appender, and WARNING, ERROR or FATAL go to another? Thank you very much. -- []'s Daniel Serodio -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL