Permission change and outputing logging info.