Improve logging: - don't hardcode function name - use LOG_DEBUG for such a debug message - print error value
Improve logging:
- don't hardcode function name
- use LOG_DEBUG for such a debug message
- print error value

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase