improve debug logging
add method to set opentsdb logger
expose data with method