Removed redundant log output, and corrected a few compile time warnings.

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