moving logger to app