introduced DEBUG_USEGDB make flag: when set, no optimizations will be done by gcc and max. information will be compiled into the binary (-ggdb)
use with
make DEBUG_USEGDB=1
Added EUDAQ_THROW variation: EUDAQ_THROW_NOLOG, which uses eudaq::Exception instead of eudaq::LoggedException; the latter is dangerous in low-level routines if the reason for throwing the exception is the logging mechanism itself.. safer to use EUDAQ_THROW_NOLOG
replaced call to strerror with call to strerror_r which has better defined behaviour; see e.g. discussion at http://lists.freebsd.org/pipermail/freebsd-hackers/2009-January/027393.html
changed all calls from EUDAQ_THROW to EUDAQ_THROW_NOLOG; this addresses issue #1: if the logging facility is defunc, a new log message will fail here, which originally created a new log message which failed here ... run control should therefore now be more robust against failures of the logger; thrown exceptions should be handled at higher levels (where more detailed log messages can be created/handled)
added exception handling to LogSender, resetting the logger if connection problems occur
removed unneeded boolean in SendLogMessage() that possibly prevented output on console