Add log-saving feature.

Don't want to encrapulate logs with lots of repetitive entries.