added logging to AOChat classes