added more log warnings.