RE: log4cxx tutorial

2008-07-08 Thread Steck, David
merc, Thank you for the examples. I originally used the properties format because all the examples I saw were in that format. This will make it much easier to switch to the xml format. Why don't you add this to the log4cxx wiki? http://wiki.apache.org/logging-log4cxx/ -David _

RE: [ANNOUNCE] Apache log4cxx 0.10.0 released

2008-04-03 Thread Steck, David
Good job, Curt. Thanks for all the hard work. -David -Original Message- From: Curt Arnold [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 2:25 AM To: Log4CXX User Cc: Logging General; Log4CXX Dev Subject: [ANNOUNCE] Apache log4cxx 0.10.0 released The Apache Logging Services pr

RE: multi-user logger

2008-01-09 Thread Steck, David
Christoph, If the different settings are per module, then you could just configure the logger for each module, and all user-specific sub-loggers would inherit those properties. If it's not that simple, maybe you could use the log4cxx API function calls in your program to configure your loggers?

RE: SVN failure

2006-11-16 Thread Steck, David
Brian, > But, from this, I'm getting the following SVN errors: > svn: PROPFIND request failed on '/repos/asf/logging/log4cxx/trunk' > svn: PROPFIND of '/repos/asf/logging/log4cxx/trunk': could not connect to > server (http://svn.apache.org) I think I ran into this, too, and decided it wa

RE: New 0.9.8 bundle for windows?

2006-07-20 Thread Steck, David
Chuck, There currently is not a 0.9.8 release. If you search the mailing list archives, you'll see there has been more than one request for a release, but a date has not yet been set. The 0.9.7 release seems to be no longer supported (which may be why no one responded to your previous questio

RE: how to get the process ID from PatternLayout

2006-06-13 Thread Steck, David
Just as an idea, you could push the process ID onto the NDC (or MDC) after you fork(), then display it with %x (or %X) in your pattern. -David [EMAIL PROTECTED] P.S. For anyone who knows: Looking at the documentation for MDC, why does the C++ log4cxx MDC require JDK 1.2? Is that mistakenly copie

RE: Log4cxx is in :)

2006-06-07 Thread Steck, David
Arun, I will also be doing a presentation on log4cxx soon. Could I please get a copy of your demo apps? Would I have permission to use all or part of them in my presentation? Thanks! -David Steck [EMAIL PROTECTED] -Original Message- From: Arunkumar [mailto:[EMAIL PROTECTED] Sent: Frid

RE: logstream defines

2006-05-26 Thread Steck, David
Jostein, I'm no expert, but I'll give my opinion. I think this would be a better way of doing what you wrote: log4cxx::logstream log(main, log4cxx::Level::getDebug()); log << "Variable i: " << i << LOG4CXX_ENDMSG; The logstream checks whether the logger is enabled before outputing any messages.

RE: Using logstream with std::string

2005-07-25 Thread Steck, David
; return lhs; } Again, though, I don't know the costs of using .c_str(), and this seems like a round-about way of fixing this. -David -Original Message- From: Steck, David Sent: Friday, July 22, 2005 12:57 PM To: Log4CXX User Subject: Using logstream with std::string Hi al

Using logstream with std::string

2005-07-22 Thread Steck, David
Hi all, I am just starting to use log4cxx and happened across the logstream class. This seems like a wonderful idea (vs. fixed string macros). Unless there are reasons I don't know about, I intend to use this class to replace all my cout statements, and I'll skip using the standard macros all

RE: Errors Building with gcc 3.4.3 (@ token in preprocessor expressions)

2005-07-07 Thread Steck, David
Andreas, Thanks! I did what you said and it worked like a charm. -David -Original Message- From: Andreas Fester <[EMAIL PROTECTED]> Sent: Wednesday, July 06, 2005 4:12 PM [...] For the moment, it would be best if you use my daily dist-tarball from http://littletux.homelinux.org/log4cx

Errors Building with gcc 3.4.3 (@ token in preprocessor expressions)

2005-07-06 Thread Steck, David
All, After learning about log4cxx and reading the introduction, I was quite excited to start using it. But, given the warning on the homepage, I decided to wait for version 0.9.8 to come out. After months of waiting, I finally downloaded the CVS HEAD. When is the next version expected to be