added printing for logs