fixed priority shutdown
This commit is contained in:
parent
6d5d746f68
commit
5929612e36
6 changed files with 113 additions and 46 deletions
|
|
@ -58,7 +58,7 @@ function createDestination(
|
|||
// Console: In-process pretty stream for dev (fast shutdown)
|
||||
if (config.logConsole && config.environment !== 'production') {
|
||||
const prettyStream = pretty({
|
||||
sync: false, // IMPORTANT: Make async to prevent blocking the event loop
|
||||
sync: true, // IMPORTANT: Make async to prevent blocking the event loop
|
||||
colorize: true,
|
||||
translateTime: 'yyyy-mm-dd HH:MM:ss.l',
|
||||
messageFormat: '[{service}{childName}] {msg}',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue