Modifi the api. Could send log when the app start.