Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/devopsfaith/krakend-gologging/v2

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/devopsfaith/krakend-gologging/v2

  • v2.0.3
  • Source
  • Go
  • Socket score

Version published
Created
Source

krakend-gologging

An improved logger for the KrakenD framework

How to use it

Import the package

import "github.com/krakendio/krakend-gologging"

After parsing the config file (here cfg), call the logger factory with the extra config of the system

logger, _ := logging.NewLogger(cfg.ExtraConfig)

And the logger is ready to be injected

Configuration

Add the github_com/devopsfaith/krakend-gologging section to the service extra config.

Example:

"extra": {
	"github_com/devopsfaith/krakend-gologging": {
		"level":  "INFO",
		"prefix": "[KRAKEND]",
		"syslog": false,
		"stdout": true
	}
}
  1. level: name of the min log level to display
  2. prefix: prefix to use with the application logs
  3. syslog: enable logging over syslog
  4. stdout: enable logging over the stdout

FAQs

Package last updated on 01 Sep 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc