Log OOM reporter into the stdout
# CP_API_SRV_INTERNAL_PORT
export OOM_REPORTER_SYNC_FILE="${OOM_REPORTER_SYNC_FILE:-/opt/oom-reporter/sync_file}"
-export OOM_REPORTER_LOG_FILE="${OOM_REPORTER_LOG_FILE:-/opt/oom-reporter/monitor_service.log}"
-mkdir -p $(dirname $OOM_REPORTER_LOG_FILE)
+mkdir -p $(dirname $OOM_REPORTER_SYNC_FILE)
/monitor_service.sh --api-url "https://$CP_API_SRV_INTERNAL_HOST:$CP_API_SRV_INTERNAL_PORT/pipeline/restapi/" \
--api-token "$CP_API_JWT_ADMIN" \
--node-name $NODE_NAME \
--sync-file "$OOM_REPORTER_SYNC_FILE" \
- --debug &> $OOM_REPORTER_LOG_FILE
+ --debug
