NSLog added in app delegate