added support for logs