-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
I am having trouble getting log_config to be honored. When I specify log_config like this:
"watch:serve": "export log_config=./local.config.prod && ts-node-dev --respawn ./src/server.ts",
ulog does not pick up the filename from the log_config env var.
I am likely using this improperly and the example in your documentation does not provide a practical example (it shows log_config=./my.log.config). It is possible I am missing something in the docs though.
I have also tried this:
ulog.set('log_config', './log.config.dev');
Is there something I would need to do w/r to ulog to get it to reload configs from file?
Any help would be greatly appreciated.