HAMA-681: add logging