Socket
Socket
Sign inDemoInstall

@exellio/node-deploy-logger

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @exellio/node-deploy-logger

A logger module which runs on each app start / restart and logs current deployment settings


Version published
Maintainers
1
Created

Readme

Source

nodeDeployLogger

  • a simple tool which logs: timestamp, appName, gitBranch, gitCommit, startparams, appconfig to a log file
Usage
const nodeDeployLogger = require('@exellio/node-deploy-logger');

// ...

nodeDeployLogger(CONFIG_PATH, CONFIG_KEYS, [TYPE], [LOGDIR_PATH]);
  • CONFIG_APTH: the path to you app config
  • CONFIG_KEYS: array of config key strings
  • TYPE: default: deploy
  • LOGDIR_PATH: default: /var/log/pim

FAQs

Last updated on 27 Sep 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc