Update AppDelegate.m

add log