[Core] Corrected a few compile time warnings.

Redundant log output has been removed, and a few compile time
warnings have been corrected.

Signed-off-by: Daniel S. Reichenbach <daniel@kogitoapp.com>