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
_
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
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?
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
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
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
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
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.
;
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
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
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
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
12 matches
Mail list logo