for logs