Skip to content

Commit

Permalink
Spacing of log message
Browse files Browse the repository at this point in the history
  • Loading branch information
micahriggan committed Dec 21, 2018
1 parent a426732 commit d8dea8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bitcore-node/src/routes/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function LogMiddleware() {
const ip = req.header('CF-Connecting-IP') || req.socket.remoteAddress || req.hostname;
const logOut = {
time: req.startTime.toTimeString(),
ip: ip.padStart(12, ' '),
ip: ip.padStart(22, ' '),
phase: 'START'.padStart(8, ' '),
method: req.method.padStart(6, ' '),
status: '...'.padStart(5, ' '),
Expand Down

0 comments on commit d8dea8b

Please sign in to comment.