MARMOTTA-423: removed raw print
MARMOTTA-423: fixed logging