Minor edit

— corrected the duplication of log messages to console
tabs to 4 spaces