log to null in release.