logging and article loop