Log is now used for testing as well.