fix: update logger to use LOG_TRANSPORT

This commit is contained in:
Alexis Tyler
2020-12-17 10:47:07 +10:30
parent cdd16a54da
commit 12dbfe9399
2 changed files with 2 additions and 2 deletions

View File

@@ -178,7 +178,7 @@ _start() {
fi
# Start unraid-api
ENVIRONMENT=$(echo $env) DEBUG=true node $node_base_directory/unraid-api/index.js 2>&1 | logger &
ENVIRONMENT=$(echo $env) LOG_TRANSPORT=console node $node_base_directory/unraid-api/index.js 2>&1 | logger &
cd $old_working_directory
# wait until node_api_pid exists

2
package-lock.json generated
View File

@@ -10635,7 +10635,7 @@
}
},
"logger": {
"version": "github:unraid/logger#edce88bda6926e5e4480646c69a1787669216494",
"version": "github:unraid/logger#24bf56fb93aec0b9c4ced36a68080857280e378e",
"from": "github:unraid/logger#master",
"requires": {
"ain2": "^3.0.0",