Compiling on Windows

2015-04-21 Thread Robert Middleton
ersion from the trunk. Also, it's a Qt-based project if that matters at all. -Robert Middleton

Re: Compiling on Windows

2015-04-22 Thread Robert Middleton
include directory and put in logging. Everything builds cleanly with MSVC, the problem is that as soon as something gets logged my program crashes - it appears to be happening within log4cxx, since I can cause it to happen by changing the level of a log statement. -Robert Middleton On Wed, Apr 22, 2015

Re: Compiling on Windows

2015-04-22 Thread Robert Middleton
ndows indicates that this is a BEX error(buffer overflow). One solution that I saw was to make sure the library is compiled with /MD, I checked the output for log4cxx and it is compiled with that, and my program is compiled with -MD. Any ideas on what could be causing it? -Robert Middleton On Wed, A

Re: How to find log file name?

2016-08-22 Thread Robert Middleton
m not positive, I don't do much casting in C++) 4. Call the FileAppender.getFile() method. -Robert Middleton On Mon, Aug 22, 2016 at 6:48 PM, Dave Birdsall wrote: > Hi, > > > > I’m a newbie to log4cxx (and lack familiarity with log4j). > > > > I

Re: Cannot figure out how to clean correctly

2016-10-26 Thread Robert Middleton
t is never used and instanceof is used in ~6 places. -Robert Middleton On Wed, Oct 26, 2016 at 4:39 AM, Thorsten Schöning wrote: > Guten Tag Thorsten Schöning, > am Mittwoch, 26. Oktober 2016 um 09:57 schrieben Sie: > > > 458 is not the problem, 394 is why I changed things. So you

Re: Cannot figure out how to clean correctly

2016-10-27 Thread Robert Middleton
references must be incremented/decremented manually, which could explain why the memory doesn't get freed. -Robert Middleton On Thu, Oct 27, 2016 at 3:05 AM, Peter Westman wrote: > I think going for a boost::shared_ptr could be a good idea, most projects > using something as complex as l

Re: Cannot figure out how to clean correctly

2016-10-27 Thread Robert Middleton
ct on library-using code, as at least in my case I only use the LOG4CXX_level macros. Perhaps it would be best to do a release of what currently exists before the backwards compatibility is broken? -Robert Middleton On Thu, Oct 27, 2016 at 5:50 AM, Thorsten Schöning wrote: > Guten Tag Peter Westm

Re: Unix Timestamps

2016-12-01 Thread Robert Middleton
strftime.3.html -Robert Middleton On Thu, Dec 1, 2016 at 11:34 AM, Thorsten Schöning wrote: > Guten Tag Felix Endres, > am Donnerstag, 1. Dezember 2016 um 16:37 schrieben Sie: > > > is it possible to print a unix timestamp, i.e. seconds since 1970 in the > > PatternLayout (or

Re: LOG4CXX crashes

2017-04-03 Thread Robert Middleton
all the time? If it's not happening all of the time it sounds like it could be memory corruption of some kind. -Robert Middleton On Mon, Apr 3, 2017 at 1:14 PM, Rai, Ashish wrote: > > > Hi, > > > > We are getting crashes from log4cxx implementation in our applica

Re: log4cxx crashes on application exit

2017-05-22 Thread Robert Middleton
Are these issues the same at all? The stack trace doesn't look the same, but they may point you in the right direction. https://issues.apache.org/jira/browse/LOGCXX-216 https://issues.apache.org/jira/browse/LOGCXX-352 -Robert Middleton On Mon, May 22, 2017 at 3:02 PM, Bonneau, Guy

Re: New release for liblog4cxx

2017-07-06 Thread Robert Middleton
Tobi, You might try the dev mailing list, there are some more people there: d...@logging.apache.org -Robert Middleton On Wed, Jul 5, 2017 at 1:59 PM, Tobias Frost wrote: > Hallo, > > The last official release of liblog4cxx was in 2008. Maybe it is time > to cut a new release, a

Re: Sign out request

2017-12-15 Thread Robert Middleton
To unsubscribe from the list, you need to send an email to log4cxx-user-unsubscr...@apache.org See the mailing list page for more info: http://apache.org/foundation/mailinglists.html On Fri, Dec 15, 2017 at 8:55 AM, "Katharina Günther" wrote: > Hallo! > > Can you please cancel my membership and

Re: Re: Next release

2017-12-21 Thread Robert Middleton
liblog4cxx.so.11, it won't load the ABI-incompatible version). I think there are tools out there that can help determine if the ABI has actually changed or not. -Robert Middleton On Thu, Dec 21, 2017 at 9:07 AM, Bonneau, Guy wrote: > I'm not a Linux expert but I believe the convention u

Re: Exception when calling logger->info() method

2018-03-13 Thread Robert Middleton
oint will do anything, but there could be an issue with your call trying access a temporary variable on the stack. -Robert Middleton On Tue, Mar 13, 2018 at 7:11 PM, Dalecki, Janusz wrote: > Hi, > > I am having problem with the log4xx throwing an exception while calling > logger-

Re: Building the latest log4cxx from source

2018-11-27 Thread Robert Middleton
multi process logging, that's not a feature that I have ever used. -Robert Middleton On Mon, Nov 26, 2018 at 2:48 PM Sandhya Sundaresan < sandhya.sundare...@esgyn.com> wrote: > Hello again, > Didn’t get any responses to my question below. Any log4cxx developers or > users out

Re: Change on the fly at run time

2020-11-13 Thread Robert Middleton
add/remove appenders via the API, which is essentially what PropertyConfigurator::configure() does in the first place. -Robert Middleton On Fri, Nov 13, 2020 at 7:33 PM xpetrl wrote: > > Hi List, > > As a general question, do I have to reload the config file to change > properties

Re: Need help with migrating to 0.12.0

2021-08-15 Thread Robert Middleton
r(new ROSConsoleStdioAppender()); -Robert Middleton On Sun, Aug 15, 2021 at 5:37 AM Achmad Fathoni wrote: > This sample program can be compiled with 0.11.0 but not 0.12.0. The error > is "Cannot convert ‘ROSConsoleStdioAppender*’ to ‘log4cxx::App > enderPtr’ {aka ‘std::shared_ptr’}". What chang

Re: [log4cxx] Block signals by default?

2021-08-25 Thread Robert Middleton
imilar, there's no need to block signals before a thread starts, as it bypasses the issue at that point. -Robert Middleton

Re: log4cxx-0.13.0 SetThreadDescription Entry Point Not Found

2022-12-01 Thread Robert Middleton
under Linux and GDB this also means that the thread name will show up in the debugger; I assume the same is true on Windows. -Robert Middleton On Thu, Dec 1, 2022 at 6:55 AM Michael Schumacher wrote: > > Hi, > > > > we have an issue with log4cxx.dll, version 0.13.0; here is what

Re: log4cxx-0.13.0 SetThreadDescription Entry Point Not Found

2022-12-01 Thread Robert Middleton
://logging.apache.org/log4cxx/latest_stable/threading.html#threading-notes -Robert Middleton On Thu, Dec 1, 2022 at 8:20 AM Robert Middleton wrote: > > Hi Michael, > > The best thing for me to recommend is to simply comment out the checks > for SetThreadDescription and GetThreadDescript

Re: Unable to get log4cxx-1.0.0 via vcpkg

2023-04-05 Thread Robert Middleton
You will need to make a custom vcpkg ports directory in order to override what is in vcpkg by default. Check the documentation for vcpkg on how to create an overlay ports directory. -Robert Middleton On Wed, Apr 5, 2023 at 4:23 AM Alwyn Mok wrote: > > Hi Sir/Mdm, > > >

Re: Unable to get log4cxx-1.0.0 via vcpkg

2023-04-12 Thread Robert Middleton
it: https://issues.apache.org/jira/browse/LOGCXX-510 It is complicated to do manually, so I do not recommend it. I'll see about updating the version in vcpkg. -Robert Middleton On Wed, Apr 12, 2023 at 12:15 AM Alwyn Mok wrote: > > Hi Robert, > > Thanks for the advice. However, even with th