logging xivo-stat activity to a file