adjust logging string