replace logger with go-logging
peeking when debug is on