Skip to content

Is log_config being honored? #62

Description

@mozart27

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions