Fix #2 for logs