Skip to content

Commit

Permalink
Make logs a little easier to read locally
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Haarhoff committed Jun 6, 2024
1 parent d2c7e4d commit b4bb683
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ passport.deserializeUser((user: Express.User, done) => {

// Application setup
const app: Application = express();
app.use(httpLogger({logger: deps.logger}));
app.use(httpLogger({logger: deps.logger, useLevel: 'debug'}));
app.use(express.urlencoded({extended: true}));
app.use(express.json());
app.use(cookieSession(sessionConfig(conf)));
Expand Down
1 change: 1 addition & 0 deletions src/init-dependencies/init-dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const initDependencies = (
levelFirst: true,
singleLine: true,
levelKey: 'severity',
colorizeObjects: false,
},
},
};
Expand Down

0 comments on commit b4bb683

Please sign in to comment.