Reverting my changes to logs.go and log_test.go