Self-sustained processes in the logarithmic layer of turbulent channel flows