error while linking with std::basic_string<...>::basic_string<...>(...)

2010-05-31 Thread Thorsten Schöning
Hello, I have to challenge the inclusion of Log4cxx in out projects based on an old Borland Build 5 and 6. We already tried log4cpp but need the SMTPAppender and rolling FileAppender which are not provided by log4cpp as we need them. I first tried the ant build of log4cpp but it doesn't seem to b

Re: error while linking with std::basic_string<...>::basic_string<...>(...)

2010-06-07 Thread Thorsten Schöning
Guten Tag Thorsten Schöning, am Montag, 31. Mai 2010 um 16:15 schrieben Sie: > [Linker Fehler] Unresolved external 'std::basic_string std::char_traits, std::allocator >::basic_string std::char_traits, std::allocator >(int, int, const > std::allocator&)' referenced fro

Re: error while linking with std::basic_string<...>::basic_string<...>(...)

2010-06-08 Thread Thorsten Schöning
/** * Expected representation of first magic number. */ - static const LogString magicString1; + static const logchar magicString1[]; /** Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Systeme - Hame

Re: simple stringstream appender

2010-08-16 Thread Thorsten Schöning
, how does it get the string stream? Besides that, how large can your log grow? What are your trying to do with the written log in general? I would prefer a file from the first thoughts. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig T

exception std::out_of_range in StringHelper::startsWith

2010-10-12 Thread Thorsten Schöning
chen Grüßen, Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig Telefon: Potsdam: 0331-743881-0 E-Mail: tschoen...@am-soft.de Web: http://www.am-soft.de AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow

apr_terminate called too early...

2010-10-15 Thread Thorsten Schöning
be correct that apr_terminate is called before everything else has finished and all Objects using apr-mutexes released them properly? If I uncomment apr_terminate, the application seems to finish properly. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Systeme - Hameln | Po

get method name of logging caller...

2010-10-15 Thread Thorsten Schöning
d wondered if this is possible using log4cxx, too. Seems one has to stay with line number, right? Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig Telefon: Potsdam: 0331-743881-0 E-Mail: tschoen...@am-soft.de Web: http://www.

Re: apr_terminate called too early...

2010-10-17 Thread Thorsten Schöning
ab.com%3e > for a discussion. Thanks, I already read this post some months ago, but couldn't remember anymore and didn't understand it completely. Seems I will stay with uncommenting apr_terminate, too. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Syst

Re: get method name of logging caller...

2010-10-18 Thread Thorsten Schöning
quite a while ago and didn't find anything helpful. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig Telefon: Potsdam: 0331-743881-0 E-Mail: tschoen...@am-soft.de Web: http://www.am-soft.de AM-SoFT GmbH IT-Systeme, Ko

Re: get method name of logging caller...

2010-11-26 Thread Thorsten Schöning
Guten Tag Thorsten Schöning, am Freitag, 15. Oktober 2010 um 12:53 schrieben Sie: > is there any way to get the method name of the logging caller in the > log message? In some places %M is mentioned, but it doesn't seem to > work and is not in the documentation of class PatternLayou

Re: double precision

2011-01-07 Thread Thorsten Schöning
::Level::getDebug(), oss_.str(oss_ << message), LOG4CXX_LOCATION); }} #else #define LOG4CXX_DEBUG(logger, message) #endif Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig Telefon: Potsdam: 0331-743881-0 E-Mail: tschoen...@am-soft.de

Re: Crash at exit

2011-01-18 Thread Thorsten Schöning
eRef(); Sounds that the following may be the reason: http://mail-archives.apache.org/mod_mbox/logging-log4cxx-dev/200901.mbox/%3c4975157f.8070...@purplescarab.com%3E http://www.mail-archive.com/log4cxx-user@logging.apache.org/msg03188.html Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten S

Re: Crash at exit

2011-01-18 Thread Thorsten Schöning
Guten Tag carlos_jime...@encopim.com, am Dienstag, 18. Januar 2011 um 13:47 schrieben Sie: > Anyone have any idea? Don't call apr_terminate at all, uncomment it in Log4cxx. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Systeme - Hameln | Potsdam |

Re: [user] mail testing

2011-05-19 Thread Thorsten Schöning
Grüßen, Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig Telefon: Potsdam: 0331-743881-0 E-Mail: tschoen...@am-soft.de Web: http://www.am-soft.de AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: A

Re: Attempting to compile example program

2011-09-12 Thread Thorsten Schöning
Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig Telefon: Potsdam: 0331-743881-0 E-Mail: tschoen...@am-soft.de Web: http://www.am-soft.de AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow

Re: AW: [bulk]: Re: Attempting to compile example program

2011-09-12 Thread Thorsten Schöning
ty old, had unsupported macros, too, but got it finally working. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig Telefon: Potsdam: 0331-743881-0 E-Mail: tschoen...@am-soft.de Web: http://www.am-soft.de AM-SoFT GmbH IT-S

Re: Valgrind memory issue

2011-12-05 Thread Thorsten Schöning
the leaks, some of them were surely already discussed. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon.030-2 1001-310 Fax...05151- 9468- 88 Mobil..01

Re: Concurrent access

2012-02-23 Thread Thorsten Schöning
, it all depends on what you do with the logs. The syntax to get something from the environment is ${something}, like in the following example: Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning

Re: How to set LockingModel in Log4cxx (if possible)

2012-04-12 Thread Thorsten Schöning
write to the logfile seems fine and logical to me. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon.030-2 1001-310 Fax...05151- 9468- 88 Mobil..

Re: Problems installing log4cxx v 0.10.0 using Microsoft Visual Studio 2010 Express C++ edition

2012-05-02 Thread Thorsten Schöning
/details/595054/visual-c-2010-express-cannot-open-visual-c-6-0-projects Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon.030-2 1001-310 Fax...05151- 9468-

Re: Trapping printf?

2012-05-09 Thread Thorsten Schöning
nct. With Windows using GetStdHandle and SetStdHandle sounds good. http://msdn.microsoft.com/en-us/library/windows/desktop/ms683231(v=vs.85).aspx Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT

Re: Log4cxx and memory read problem while program is ending

2012-05-25 Thread Thorsten Schöning
nt the call to apr_terminate in some classes. http://mail-archives.apache.org/mod_mbox/logging-log4cxx-dev/200901.mbox/%3c4975157f.8070...@purplescarab.com%3E Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme

Re: Log4cxx and memory read problem while program is ending

2012-05-25 Thread Thorsten Schöning
on you logged on CTRL_SHUTDOWN_EVENT and maybe this event was fired after log4xx was already destructed right before the application shutdown. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-S

Re: failed to compile log4cxx in Ubuntu12. error is apr

2012-07-27 Thread Thorsten Schöning
: > configure: error: APR could not be located. Please use the --with-apr option. Do you have apr-devel and apr-util-devel installed, as the link says? Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme htt

Re: multiples instances of log4cxx

2012-10-24 Thread Thorsten Schöning
ogging-log4cxx-user/200408.mbox/%3c856dbbce-f622-11d8-b017-000393b97...@apache.org%3E Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151-

Re: multiples instances of log4cxx

2013-01-23 Thread Thorsten Schöning
, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG H

Re: log4cxx - reaching out for interested developers

2013-04-18 Thread Thorsten Schöning
o help. From what I understand this should all be a lot easier if log4cxx moves (back?) to incubator. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 946

Re: RollingFileAppender Exception

2013-05-06 Thread Thorsten Schöning
tions, too. http://apache-logging.6191.n7.nabble.com/help-RollingFileAppender-xml-configuration-td31386.html http://www.yolinux.com/TUTORIALS/Log4cxx.html Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Re: RollingFileAppender Exception

2013-05-07 Thread Thorsten Schöning
ing but if you configured a filename then check permissions on the path configured. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151-

Re: C++ using Qt and Log4cxx does not show in console

2013-05-21 Thread Thorsten Schöning
the > console . Could you give some more details about why your QT library doesn't support stdout/stderr or what it is doing with those? Maybe one can provide some alternatives, but doesn't know exactly what the problem with the QT library is. Mit freundlichen Grüßen, Thorsten Schö

Re: Compiling with Visual Studio

2013-06-04 Thread Thorsten Schöning
our own. And share them of course on the list. ;-) Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0

Re: faild to build log4cxx => undefinde reference to `_imp__apr_xml_parse_file@20'

2013-07-09 Thread Thorsten Schöning
, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 3178

Re: log4cpp to log4cxx migration changes

2013-07-18 Thread Thorsten Schöning
rüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c,

Re: Defining logstreams in a header

2014-01-13 Thread Thorsten Schöning
; Isn't there code missing which checks the current level, outputs your logstream etc.? Using the macros the statement would look something like the following: LOG4CXX_INFO(logger, "Player started with SYPHON " << SYPHON << ", FBO " << FBO << &

Re: Defining logstreams in a header

2014-01-13 Thread Thorsten Schöning
CXX_INFO or similar macros which > support short-circuiting if the threshold is not satisfied and use > of the insertion operator (<<) in the message parameter. https://logging.apache.org/log4cxx/ Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.

Re: Logging to memory mapped files

2014-01-16 Thread Thorsten Schöning
I think it's worth measuring your approach. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0

Re: how to retain values using configureAndWatch()

2014-02-21 Thread Thorsten Schöning
ming from the env set by the application: Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fa

Re: how to redirect log4cxx console messages

2014-02-24 Thread Thorsten Schöning
>Also, does log4cxx throw any exceptions which can be handled in the > application which uses it ? Doesn't like, errors are only logged. Have a look at DOMConfigurator::doConfigure in domconfigurator.cpp. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:t

Re: how to use errorHandler

2014-02-25 Thread Thorsten Schöning
rrent trunk codebase which builds and passes the tests on most of the systems the current devs seem to use. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468-

Re: how to use errorHandler

2014-02-25 Thread Thorsten Schöning
Guten Tag Nandan S, am Dienstag, 25. Februar 2014 um 10:14 schrieben Sie: > Is my configuration file correct ? It looked correct to me, but you can compare with: trunk\src\test\resources\input\xml\fallback1.xml Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning

Re: Directing windows logging data to the active app console

2014-02-26 Thread Thorsten Schöning
.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/ms681944(v=vs.85).aspx Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151-

Re: getRootLogger() thread-safe?

2014-03-10 Thread Thorsten Schöning
d try to just remove the "static" in the following line? >static spi::RepositorySelectorPtr selector; If that works, we'll consider just removing that on trunk as well, like with LOG4CXX-394. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning

Re: getRootLogger() thread-safe?

2014-03-11 Thread Thorsten Schöning
you think? I tend to agree, we fixed the same problem in LOGCXX-394 as well. I created a new bug and provided a patch for others to review: https://issues.apache.org/jira/browse/LOGCXX-430 Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de

Re: Status of log4cxx under Windows using VS 2010

2014-03-18 Thread Thorsten Schöning
ugh I don't know the numbers anymore. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468

Re: Status of log4cxx under Windows using VS 2010

2014-03-18 Thread Thorsten Schöning
7;t be necessary. At least ANT works with VS 2013 Express for me. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..

Re: Status of log4cxx under Windows using VS 2010

2014-03-21 Thread Thorsten Schöning
There's no release date yet. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 946

Re: Does log4cxx substitute environment variables in config files?

2014-03-24 Thread Thorsten Schöning
freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger St

Re: Clearing All Loggers from the Logger Repository.

2014-04-01 Thread Thorsten Schöning
suitable method. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Syste

Re: clearing Loggers from logger repository

2014-04-03 Thread Thorsten Schöning
ome weeks ago, I would suggest overriding XMLWatchdog::doOnChange in domconfigurator.cpp and reset/clean the whole configuration on each iteration using LogManager::resetConfiguration. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de A

Re: Loglines before a crash

2014-04-05 Thread Thorsten Schöning
an decide to use buffered I/O easily using the configuration IMHO. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil

Re: Clearing All Loggers from the Logger Repository.

2014-04-10 Thread Thorsten Schöning
rly answered to me. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-System

Re: Clearing All Loggers from the Logger Repository.

2014-04-10 Thread Thorsten Schöning
ill be in use somewhere around an application etc. This doesn't sound like an easy task. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax.

Re: Clearing All Loggers from the Logger Repository.

2014-04-10 Thread Thorsten Schöning
reflected if a file watcher is used. And some changes, like deleted loggers, are simply not recognized as such because it's a complex topic to do so. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.

Re: Clearing All Loggers from the Logger Repository.

2014-04-11 Thread Thorsten Schöning
an be achieved by implementing callbacks for the filewatcher, this should be more easy to implement than removing single loggers alone. https://issues.apache.org/jira/browse/LOGCXX-429 Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-S

Re: can't make apache-log4cxx-0.10.0

2014-05-16 Thread Thorsten Schöning
hat, the current trunk passes all tests and has been tested by other users. If your problem persist, please provide some more details like the compiler or IDE you use, which platform etc. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM

Re: Question regarding the technical details of a log rollover

2014-05-21 Thread Thorsten Schöning
to take care about unneeded files on your own. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoF

Re: log4cxx and threads

2014-06-01 Thread Thorsten Schöning
penders for each thread based on the template logger. You would simply need to create new logger and appender objects using LOG4CXX API and provide most of the properties form the configured template logger and appender, just changing logger and file names to be specific for each thread. Mit fre

Re: Problem building log4cxx 0.10.0 -- missing source files?

2014-06-03 Thread Thorsten Schöning
Visual Studio. Only releases have those, but you may create them on your own using ant. http://apr.apache.org/download.cgi http://logging.apache.org/log4cxx/building/ant.html http://logging.apache.org/log4cxx/source-repository.html Mit freundlichen Grüßen, Thorsten Schöning -- Thorst

Re: Problem building log4cxx 0.10.0 -- missing source files?

2014-06-08 Thread Thorsten Schöning
ilable. And I doubt that VC++ 6 is that common on the user or dev base of the project that one can simply provide his binaries. Give it a try. :-) Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://

Re: log4cxx v0.9.7 in multi-threaded environment

2014-06-18 Thread Thorsten Schöning
sues.apache.org/jira/browse/LOGCXX-278 Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04

Re: Socket appender improvements

2014-07-01 Thread Thorsten Schöning
hat is the most up to date repo/branch? trunk@HEAD, test with that and afterwards you may have acloser look into the problem you are seeing. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Re: Socket appender improvements

2014-07-01 Thread Thorsten Schöning
Guten Tag Lucas Vickers, am Dienstag, 1. Juli 2014 um 18:36 schrieben Sie: > https://github.com/apache/log4cxx/tree/trunk This is not the official repo, use the following: http://logging.apache.org/log4cxx/source-repository.html Mit freundlichen Grüßen, Thorsten Schöning -- Thors

Re: Socket appender improvements

2014-07-01 Thread Thorsten Schöning
rtant. They sounds like if they were. ;-) You could give Ant and/or Maven a chance. http://logging.apache.org/log4cxx/building/ant.html http://logging.apache.org/log4cxx/building/maven.html Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de

Re: Socket appender improvements

2014-07-02 Thread Thorsten Schöning
ere and simply can't be influenced by the ant build. > 3 - I see no way to create universal binaries for OS X, or even > just specify a x86 vs x64 bit architecture. I think that's cpptasks not supporting such things, too. Mit freundlichen Grüßen, Thorsten Schöning --

Re: Socket appender improvements

2014-07-02 Thread Thorsten Schöning
capable of generating projects, although I didn't ever test myself, or the old releases contain some which could be used as templates. AFAIR we didn't add or rename files, therefore you may try to simply copy new source files over to the old project files. Mit freundlichen Grüßen, Thorste

Re: Socket appender improvements

2014-07-02 Thread Thorsten Schöning
to give it a try myself, yet. I'm still working with my own 0.10.0 based project files and applied patches. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151-

Re: Status of log4cxx under Windows using VS 2010

2014-08-28 Thread Thorsten Schöning
because ANT builds the project with my VS 2013 Express directly. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468-

Re: Using VC6 on XP to build log4cxx from latest trunk [was Re: Status of log4cxx under Windows using VS 2010]

2014-09-01 Thread Thorsten Schöning
form a maven repository as Jar, else you might download it manually form whatever source you like. But I would prefer using maven, that's what I did as well. http://mvnrepository.com/artifact/ant-contrib/cpptasks/1.0b5 Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E

Re: Using VC6 on XP to build log4cxx from latest trunk

2014-09-02 Thread Thorsten Schöning
u need to execute maven directly from the directory containing pom.xml, should be trunk. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax

Re: Using VC6 on XP to build log4cxx from latest trunk

2014-09-07 Thread Thorsten Schöning
ble with another compiler, but it looks as if this goal can't be reached with the current approach anyways. So update your trunk and give it another try. https://issues.apache.org/jira/browse/LOGCXX-421 Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.scho

Re: Using VC6 on XP to build log4cxx from latest trunk

2014-09-07 Thread Thorsten Schöning
pr-util-build.xml:284: cl failed with return code 2 Error code 2 normally means a missing file somewhere, you may use Process Monitor from Sysinternals to follow the build process and see which file is missing or try "mvn -X ..." which generates a lot of debug output. Mit freundlichen Gr

Re: Using VC6 on XP to build log4cxx from latest trunk

2014-09-08 Thread Thorsten Schöning
a look at the file and object.h for the cast macros and see if you somehow can get them working by rewriting or if they are needed at all... Sorry, but I don't have the time to look into this any more detailed. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Ma

Re: log4cxx xml config

2014-09-11 Thread Thorsten Schöning
rs you have built in, some for Log4j added in the younger past surely won't be available etc. > We are using log4cxx 0.10.0. The available appenders didn't change much in current trunk, if I remember correctly, but they might became more reliable. Mit freundlichen Grüßen, Thorste

Re: log4cxx xml config

2014-09-11 Thread Thorsten Schöning
tart a survey of some kind with things known to not work or such. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobi

Re: Using VC6 on XP to build log4cxx from latest trunk

2014-09-17 Thread Thorsten Schöning
s not > too surprising since VC6 is pretty old. Oh well, I tried, and thanks very much > for your help. I still want to try to use log4cxx since it is so highly > recommended, I'll just have to try a newer version of VC. Luckily we have the express editions these days. :-) M

Re: Using filters

2014-10-13 Thread Thorsten Schöning
ean the whole configuration on each iteration using > LogManager::resetConfiguration Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9

Re: Using filters

2014-10-13 Thread Thorsten Schöning
go, but you need to have a more detailled look on that on your own. It doesn't seem that what you try to achieve is possible without any coding just by configuration. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT

Re: log4cxx 0.9.7: Fix for memory leak in gnomexml.cpp when parsing configuration file (Linux)

2014-12-11 Thread Thorsten Schöning
e been some distribution specific patch or something completely unrelated to the original codebase as well. Don't bother anymore, if there's still a problem someone will surely report it... Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.

Re: LOG4CXX Common DLL Logging

2015-01-12 Thread Thorsten Schöning
such, that's the real problem which would have less to do with log4cxx itself. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...

Re: LOG4CXX Common DLL Logging

2015-01-12 Thread Thorsten Schöning
d why. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-System

Re: LOG4CXX Common DLL Logging

2015-01-12 Thread Thorsten Schöning
w it's a good approach to distinct on application level and I would even suggest to follow MS naming schemes like MyProg1.exe.log4cxx.xml, MyProg2.exe.log4cxx.xml and such. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de AM-SoFT IT

Re: stablishing a header when logs rotates

2015-01-19 Thread Thorsten Schöning
scription.html http://logging.apache.org/log4cxx/apidocs/classlog4cxx_1_1rolling_1_1_action.html Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax.

Re: Check if log4cxx been configured?

2015-02-12 Thread Thorsten Schöning
r.html#a8dbbae8c2efa0df0172c084cb14bb3a2 http://logging.apache.org/log4cxx/apidocs/classlog4cxx_1_1spi_1_1_logger_repository.html#a74ee52af71ff0e0b9efd1acd86b16164 Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-S

Re: How to completely disable logging?

2015-02-19 Thread Thorsten Schöning
logging using this > file? That depends on your LIB and how it configures log4cxx. By default logging can easily be deactivated by settings the log level for all loggers to NONE. http://logging.apache.org/log4cxx/usage.html Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning

Re: How to completely disable logging?

2015-02-19 Thread Thorsten Schöning
erties and not finding it. Read the following paragraph, that's what Log4cxx is doing automatically. Everything else is up to the LIB and you need to ask it's maintainer. > Default Initialization Procedure http://logging.apache.org/log4cxx/usage.html Mit freundlichen Grüßen, Thor

Re: How to completely disable logging?

2015-02-19 Thread Thorsten Schöning
down to a root logger and maybe a console appender and provide the root logger with level NONE, there shouldn't be any logs anymore. Everything else depends on the errors and what your LIB is doing. It may have some config hard coded or such... Mit freundlichen Grüßen, Thorsten Schönin

Re: Unit tests fail after log4cxx build on Raspberry Pi

2015-02-23 Thread Thorsten Schöning
ince 0.10.0. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH

Re: Compiling on Windows

2015-04-22 Thread Thorsten Schöning
tml Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Branden

Re: Segmentation fault: apr_pool_create_ex

2015-07-15 Thread Thorsten Schöning
he.org/jira/browse/LOGCXX-389?jql=project%20%3D%20LOGCXX%20AND%20resolution%20%3D%20Unresolved%20AND%20text%20~%20"crash"%20ORDER%20BY%20priority%20DESC Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme htt

Re: deallocating resources

2015-08-25 Thread Thorsten Schöning
e children or not. Additionally, loggers are often used statically, so they have no useful scope to release them. You use case doesn't seem to be very common. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de AM-SoFT IT-

Re: Help with first C++ program to do logging

2015-10-12 Thread Thorsten Schöning
ld first read the docs on how to build the lib. If your already done so, you either made something wrong or the instructions are not clear enough or whatever, so feel free to tell us and we might fix things. https://logging.apache.org/log4cxx/building/index.html https://logging.apache.org/log4cxx/

Re: Help with first C++ program to do logging

2015-10-12 Thread Thorsten Schöning
you need to take care about the dependencies like APR on your own as well, but APR should support MSVC. I personally prefer custom IDE projects, but spent quite some days getting all up running. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten.schoen...@

Re: Help with first C++ program to do logging

2015-10-12 Thread Thorsten Schöning
reundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...05151- 9468- 55 Fax...05151- 9468- 88 Mobil..0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7

Re: Help with first C++ program to do logging

2015-10-12 Thread Thorsten Schöning
s all platform independent code in such unix dirs and I have added those files in my project and got an "apr_generate_random_bytes" in my lib. I have quite some other unix dirs in my project as well, like "file_io", else it wouldn't even compile. Mit freundlichen Grüßen, Thorsten

Re: Help with first C++ program to do logging

2015-10-12 Thread Thorsten Schöning
. The "bin" folder of that is in my path and contains some ant.bat which deals with things like ANT_HOME, classpath and such. Have a look at that. I don't remember anymore how I set up my ANT and currently don't have the time to play with that, sorry. Mit freundlichen Gr

Re: Help with first C++ program to do logging

2015-10-12 Thread Thorsten Schöning
me: C:\Program Files\Java\jdk1.8.0_60\jre > Default locale: de_DE, platform encoding: Cp1252 > OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "dos" Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten

Re: Why did log4cxx disappear from EPEL Centos 6?

2015-12-11 Thread Thorsten Schöning
d it? No, I would guess that there's simply no maintainer for that package anymore and it might have been broken in current versions of that OS because of changed build chain and such. But only the maintainers of the OS/package can tell you. Mit freundlichen Grüßen, Thorsten Schöning --

Re: unit test 'errorhandlertestcase' failed

2016-02-11 Thread Thorsten Schöning
lly you should make sure that your "sed" accepts the used -f arg and the patterns of "temp.sed". You can see the content of that file if you run the test suite with only the one test you are interested it, something like: > test_all.cmd errorhandlertestcase where test_a

Fwd: log4cxx-0.10.0 and crash on exit

2016-02-29 Thread Thorsten Schöning
ycosecurityproducts.com/> Tyco Safety Products/CEM Systems Ltd. This e-mail contains privileged and confidential information intended for the use of the addressees named above. If you are not the intended recipient of this e-mail, you are hereby notified that yo

Re: log4cxx-0.10.0 and crash on exit

2016-02-29 Thread Thorsten Schöning
ted@0‑()Unknown Is this some kind of special .NET/managed/whatever DLL or is it only used in such a process? I only use log4cxx statically linked into plain Win32 applications. Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: thorsten.schoen...@am-s

  1   2   >