I have hit a similar problem on Linux. The workaround that I found was to
manually call the configure script in the apr and apr-util projects that
are downloaded to the lib logging-log4cxx/lib directory.
Hope this helps.
Jim
|-+>
| | Chris
I am having problems building off the head on RedHat EL3 linux.
I ran:
./autogen.sh
./configure --with-apr=/usr/local/apr
make
The make failed with "Makefile:202 *** missing seperator. Stop."
When I looked at the makefile, there seem to be a number of problems, here
is the makefile that was ge
Is there a way to set the timezone for ALL output from the application? I
can set the property for each appender in the properties file, but our
software runs on an embedded device, and the user can change the timezone
of the system. I can't have them editing the properties file to change the
tim
Curt,
Thanks for the help, I'm running the 0.9.7 version since this is a
production level application, I'll be trying to move to 0.9.8 as soon as it
seems stable. The 0.9.7 handling forces the use of GMT time unless
explicitly specified in the properties file to use another timezone. I
looked at
Allen,
I recently hit this problem as well in log4cxx 0.9.7. The solution I used
was to specify the timezone in the log4cxx.properties file. You can
specify it for a layout like this:
log4j.appender.AuditAppender.layout.TimeZone=America/New_York
After that all my logs magically printed in the
I see in the PatternLayout class there is a setTimeZone() method, is there
a way i can load my configuration from a properties file, then get the
appenders 1 by 1 and set the timezone on each of them?
We have an application in which the user can change the timezone of the
system through our softwa
This is a very easy one...
Everything build successfully except the socketservertestcase.cpp file,
which is missing reference to unistd.h. I don't know much about the ant
build process, so I'm sure there is some correct place to add it so the
build remains platform independent.
Thanks,
James We
Curt,
Thanks for the quick response. In 0.9.8 will the loggers use the current
system timezone by default? I am not trying to do anything special with
outputting to different timezones, I just want to print the logs in the
current timezone on the system. Currently the only way I can accomplish
Seba,
If you specify an exact path for the log file in the properties file, then
the logging will be immune to changes in the cwd.
My guess is that you used something like this:
log4j.appender.Exceptions.File=exception.log
You should try:
log4j.appender.Exceptions.File=/var/log/exception.log
Guys and gals.
I've been testing the latest 0.9.8 build on linux, and I noticed that it is
using both the expat and the libxml libraries, as well as the libz
libraries. What parts of these libraries are being used? Is this just
overhead from the APR merge?
I don't see any references to libz in
Hello,
Here are two issues I still see when building on Red Hat Enterprise WS 3:
1. The socketservertestcase.cpp file is missing an include file, it needs
unistd.h to compile in linux.
2. The liblog4cxx.so object is linked with both the expat and the libxml2
xml parsers, is there a reason that i
Tim,
I saw this problem too. To solve it, goto the
logging-log4cxx/lib/apr-iconv-1.0.1 directory and run the configure script
manually with ./configure. You'll have to do the same thing for the
apr-util package as well. After doing that, the build was successful for
me.
Thanks,
James Wert Jr
1. Does anyone know a website with decent docs on using the rolling
appenders?
2. More specifically, I need information on setting up size based rolling
file appenders via a properties file or xml configuration file. I am
getting overwhelmed with all the new options for the rolling appenders, a
Christian,
Thanks a lot, I will try it out!
Thanks,
Jim
[EMAIL PROTECTED]
"Steindl
14 matches
Mail list logo