fix go vet issues; move handler_logs.go inside log.go