Fix a bug that adds an unnecessary newlines for traces even when verbose is false.