DPDK Architecture  ->  Bootstrap (v3.0.5)

Logging
>= v1.0.0

After a new bootstrap has been constructed a global variable has been bound for the logger.
The following functions will be available to log things to the console/log file accordingly to the log level:

global.log.trace('This is a message');
global.log.debug('This is a message');
global.log.info('This is a message');
global.log.warn('This is a message');
global.log.error('This is a message');
global.log.fatal('This is a message');

Log Level
>= v1.0.0

The application default log level is trace
You can change the log level by updating the application config:

{
  "logger": {
    "level": "trace"
  }
}

Log Files
>= v2.1.0

By default, the boostrap will split the web and cli logs.
The logs will be saved as follows:

  • CLI: project_name.cli.log
  • WEB: project_name.web.log
Last modifiedFriday, April 30, 2021, 12:00:21 PM UTC
Last authorColin van Eenige
Commit ID4c7a701