Fixing the indentation of logging