process failure printing, formatting, logs-directory

Signed-off-by: Christian Lüthold <biocodr@gmail.com>