Oscillation and global stability in a delay logistic equation