• unknown's avatar
    BUG#11331 "Warning: could not add log destination" message does not provide enough info · ba3086a2
    unknown authored
    Implement error reporting to Logger and associated classes.
    
    
    ndb/include/logger/LogHandler.hpp:
      Add error string to LogHandler along with error code
    ndb/include/logger/Logger.hpp:
      Add reporting back of error to addHandler(BaseString).
    ndb/src/common/logger/FileLogHandler.cpp:
      Implement error reporting
    ndb/src/common/logger/LogHandler.cpp:
      Implement error reporting.
      
      Trim spaces and tabs out of parameter names. This allows "p=v, param=value"
    ndb/src/common/logger/Logger.cpp:
      Report back errors when adding a handler via BaseString
    ndb/src/common/logger/SysLogHandler.cpp:
      Report an error on invalid syslog facility
    ndb/src/mgmsrv/MgmtSrvr.cpp:
      Report error when adding log handler
    ba3086a2
Logger.cpp 6.88 KB