fixed logging in iOS backend