fixed issue #2 - logging adapator