add centralized logging