Somebody correct me if I'm wrong, but I don't think it will. In Test.hpp,
the compiler doesn't know what type LoggerPtr is. Since you're referring to
that type directly rather than by a pointer, the compiler needs to know the
full details. It doesn't know that in reality it's a pointer type defined
I've been doing that for two years with no issue. It was my understanding
that this was one of the major features of log4cxx, but I could be taking
that for granted.
- Stephen
_
From: Peter Steele [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2008 1:18 PM
To: log4cxx-user@logging
> -Original Message-
> From: Curt Arnold [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 18, 2008 10:42 AM
> To: Log4CXX User
> Subject: Re: Use of operator<<
>
>
> On Mar 18, 2008, at 10:25 AM, Stephen Bartnikowski wrote:
> >
> > Hi Josh
> -Original Message-
> From: Josh Kelley [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 18, 2008 9:10 AM
> To: log4cxx-user@logging.apache.org
> Subject: Use of operator<<
>
> I saw that I can use the << operator within the LOG4CXX_DEBUG, etc.
> macros; e.g.:
>
> LOG4CXX_DEBUG(logg
> -Original Message-
> From: Curt Arnold [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 26, 2008 6:12 PM
> To: Log4CXX User
> Subject: Re: [VOTE] log4cxx 0.10.0 release candidate
>
>
> On Feb 26, 2008, at 5:42 PM, Stephen Bartnikowski wrote:
>
> &
Hi Curt,
My usage for Log4cxx in the near term currently involves three platforms,
Mac OS X Server, FreeBSD, and SUSE (both open and enterprise). The idea for
my product is to refer my end-users to log4cxx for installation, rather than
including the lib and headers in my distribution. So I'll desc
> -Original Message-
> From: Bob Rossi [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 22, 2008 9:53 AM
> To: log4cxx-user@logging.apache.org
> Subject: releasing 0.10.0
>
> Hi,
>
> I'm not sure what your release process is, but I would like
> to ensure that log4cxx still builds on m
> -Original Message-
> From: Vladimir Eremeev [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 15, 2008 11:19 AM
> To: log4cxx-user@logging.apache.org
> Subject: Where can I find examples of usage Log4cpp 1.0?
>
>
> Hi all.
> I would like to use Log4cpp in my application.
> I have down
Btw Curt,
I've got my server product on Mac OS X Server with a log4cxx snapshot
(thanks again for the XCode project generation guide). I'm at the point now
where I could use a number of automated clients to produce some profiling
data for log4cxx performance testing if you needed it.
Just give me
01 AM, Stephen Bartnikowski wrote:
> Curt,
>
> Having a working XCode 2.5 project would be huge! Hugely helpful! In
> so many ways.
>
> So yeah, a snapshot of your project or a diff of the cpptasks hacks
> you did would be an enormous help.
>
> Thanks,
> Stephen
: Thursday, December 06, 2007 5:54 PM
To: Log4CXX User
Subject: Re: Most stable version of log4cxx?
On Dec 6, 2007, at 3:51 PM, Stephen Bartnikowski wrote:
> Platforms...I should correct myself. I've got activated, licensed
> systems running FreeBSD, openSUSE, White Box, and Mac OS X Server.
s,
Stephen
-Original Message-
From: Curt Arnold [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 06, 2007 12:17 PM
To: Log4CXX User
Subject: Re: Most stable version of log4cxx?
On Dec 6, 2007, at 8:58 AM, Stephen Bartnikowski wrote:
> Hey Curt,
>
> What's the testin
Hey Curt,
What's the testing process? How do we the users get involved on that and
what sort of committment do we need to make?
I think it's important I eke out some testing time out of my schedule to
help out on that front, since, hey I'm using developer builds of log4cxx on
FreeBSD, openSUSE, S
As far as getting the HEAD, this page details how you can do that:
http://logging.apache.org/log4cxx/source-repository.html
I've never built log4cxx on Windows, so perhaps someone else can answer that
better.
- Stephen
-Original Message-
From: Kamdar, Devang (MLITS) [mailto:[EMAIL PROT
Hi George,
I wanted to build on Mac OS X recently and had problems using the autotools
to do this as well. I didn't find a solution and had to focus elsewhere
since these sorts of things tend to flush valuable man-hours down the drain.
Not that this helps you, but it might attract the attention o
Uh, it looks like their documentation needs to be updated.
Try the instructions on this page:
http://logging.apache.org/site/cvs-repositories.html
I'm pretty sure that the svn tree is being used for current development.
- Steve
-Original Message-
From: Andrew La Motte-Mitchell [mailto
>From what I understand, the extensibility of log4cxx depends how you want to
extend it. From what I've used of it, the library is easily configurable for
a number of different uses, so much that I honestly have no need to extend
it. But your mileage will vary.
As far as its reliability, my team h
Has anyone used the dist target with the ant build?
I was thinking it might be eas(ier) to run that so that I could:
1) Move the headers into /usr/local/include
2) Move the libs into /usr/local/lib
3) Get all the license, etc in one place in prep for a release
But I ran into problems with various
Hello,
I wanted to link log4cxx statically to libexpat, which I managed to do, but
only by altering the build.xml file like so:
Since I already had libexpat, I changed this line:
-
+
And also added this line beneath the cppunit lib properties.
+
Granted I probably didn't need to
Hello,
Is there a way to tell the ant build to not build apr and apr-util? For
example, I already have apr and apr-util installed from the distribution iso
but I'm getting build errors building apr-util during the log4cxx ant build.
I'm assuming not since someone asked a similar question on the u
ode.
( Log4cxx dev team, please correct me if I'm wrong. )
Stephen Bartnikowski
Barking Lizards Technology
www.barkinglizards.com
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Chalk
Sent: Tuesday, February 06, 2007 12:26 PM
To: log4cxx-user@loggin
Debug());
oss << "This is a number test: " << a;
oss.flush();
You could rig it up in your own macro and do things like:
MY_LOG4CXX_DEBUG( "This is a number test: " << a );
Hope this helps!
Stephen Bartnikowski
Barkin
> There are two scenarios where I have seen this type of problem (three
> if you include deviations from spec in earlier gcc's): destruction of
> the Level constants (Level::OFF etc) that appear at the end of src/
> level.cpp and logging taking place during the destruction of static
> object
Hi,
I'm having a problem on shutdown of my application, but only on Linux. I've
attached the stack trace of the last thread at the bottom of this message.
>From what I can tell, in frame 3, apr_atomic_casptr is attempting to lock a
mutex, but the mutex has already been destroyed. This consistent
Hi Tomas,
I'm not sure what the log4cxx developers would say, but I'm in a very
similar boat.
I wasn't a big fan of using the HEAD version either, but from what I
understand 0.9.7 is not recommended for production use (at all). I moved up
to the HEAD with a mostly smooth transition. You m
Oops - thanks Curt!
-Original Message-
From: Curt Arnold [mailto:[EMAIL PROTECTED]
Sent: Friday, December 01, 2006 12:25 AM
To: Log4CXX User
Subject: Re: logstream and a std::string with zeros
On Nov 27, 2006, at 6:08 PM, Stephen Bartnikowski wrote:
> Hello,
>
> I
Hello,
I'm doing the following:
std::string message;
[...]
if (sm_logger->isDebugEnabled()) {
log4cxx::logstream oss(sm_logger, log4cxx::Level::getDebug());
oss.setLocation(LOG4CXX_LOCATION);
oss << message;
oss.flush();
}
but in one circumstance I found that "message" contained ac
Hello,
I've gotten the latest log4cxx source to build on FreeBSD 6.0 and 6.1 using
the recommended ant process. However, I had to modify / hack a few things
to nudge it through. It's not the best way to get around the issue, but it
could prove useful to anyone else having similar issues.
A lot
Hello,
I'm essentially calling LOG4CXX_INFO in a child process between a call to
fork() and a call to execv() on FreeBSD 6.0. The child process blocks
indefinitely maybe 1 in 4 times upon calling the LOG4CXX_INFO macro. If it
doesn't block there, log4cxx calls after the execv work fine. If I re
29 matches
Mail list logo