Added logging to trends server