Remove excess log text