Fix #1 for logs.