added more log feature