mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 01:39:37 +02:00
🔊 — [peertube-runner] Disable log coloring when TTY does not support it
This commit is contained in:
parent
c1ced4209e
commit
04333e817f
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ import { pino } from 'pino'
|
|||
import pretty from 'pino-pretty'
|
||||
|
||||
const logger = pino(pretty({
|
||||
colorize: true
|
||||
colorize: pretty.isColorSupported
|
||||
}))
|
||||
|
||||
logger.level = 'info'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue