changed the logging mechanism to semantic logger