Adding centralized logging