Cleaned up logging code a little.

Un-needed code modification.