improved logging

Signed-off-by: marcomilanesio <milanesio.marco@gmail.com>