logger for localdiagnosis

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