Because Log4cxx is a logging library, we can't use it to output errors from the library itself. There are several ways to activate internal logging:
All error and warning messages are sent to stderr.