moved and altered log output
add: allow monkeypatching