handle application logging