Skip to content

Commit

Permalink
refactor: 优化日志
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Apr 3, 2024
1 parent 7ff8174 commit 0e124ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ export class Cluster {
tail.on('line', (line: string) => {
const match = line.match(logRegexp)
if (!match) {
console.log(`cannot parse nginx log: ${line}`)
logger.debug(`cannot parse nginx log: ${line}`)
return
}
this.counters.hits++
Expand Down

0 comments on commit 0e124ee

Please sign in to comment.