Fixed minor log cleanup issue.

Signed-off-by: Geo <GeoCode@Schiro.name>