optimize logging
add "UseEncoding"

Signed-off-by: David Hoffmann <adfc-newsapp@hoffmann-projects.de>