How to completely disable logging?

2015-02-19 Thread Sergio Basurco
Hi all, I'm using a 3d party library (namely LIB) which uses log4cxx. I get an error when closing my application, that log4cxx appender was not found for some module. I want to disable logging completely. From what I've found I can set a log4cxx.properties file. How can I completely disable logg

Re: How to completely disable logging?

2015-02-19 Thread Thorsten Schöning
Guten Tag Sergio Basurco, am Donnerstag, 19. Februar 2015 um 12:47 schrieben Sie: > I'm using a 3d party library (namely LIB) which uses log4cxx. I get an > error when closing my application, that log4cxx appender was not found > for some module. Really appender and not logger? Are you able to po

Re: How to completely disable logging?

2015-02-19 Thread Sergio Basurco
Guten tag Thorsten, Here's the complete error, dumped when closing the whole application: log4cxx: No appender could be found for logger (LIB.LibClass). log4cxx: Please initialize the log4cxx system properly. Let me give you some background on how I'm using this library. - LIB is a managed .N

Re: How to completely disable logging?

2015-02-19 Thread Thorsten Schöning
Guten Tag Sergio Basurco, am Donnerstag, 19. Februar 2015 um 15:29 schrieben Sie: > Using LIB in a managed environment does not output the error. It's only > when I use it through my wrapper that this happens. My best guess is > that log4cxx is looking for initialization properties and not findin

Re: How to completely disable logging?

2015-02-19 Thread Sergio Basurco
Hi, Thanks! Is there a way to undefine *LOG4CXX_CONFIGURATION*override logger options externally? If I place a log4cxx.properties file next to my executable, I get all sorts of errors from log4cxx. So I assumed it was possible to override initial options, or at least disable logging for my

Re: How to completely disable logging?

2015-02-19 Thread Thorsten Schöning
Guten Tag Sergio Basurco, am Donnerstag, 19. Februar 2015 um 17:44 schrieben Sie: > Is there a way to undefine LOG4CXX_CONFIGURATIONoverride logger options > externally? If you don't define it yourself it's not used, if it used and not defined by you it's defined by the LIB for any reaso

Re: How to completely disable logging?

2015-02-25 Thread Sergio Basurco
Hello Thor, Sorry I took long to reply. I will just inform the library authors and dismiss the logging messages on exit. Thank you very much for your help! Regards, El 19-Feb-15 a las 6:48 PM, Thorsten Schöning escribió: Guten Tag Sergio Basurco, am Donnerstag, 19. Februar 2015 um 17:44 schr