Categorygithub.com/jubelio/go-logging
modulepackage
1.0.7
Repository: https://github.com/jubelio/go-logging.git
Documentation: pkg.go.dev

# README

go-logging

Simple module to proper logging to elasticsearch

ENV

KEYDEFAULTREQUIREDDESCRIPTION
LOGGING_HOSThttps://es2.jubelio.comnoES Host
LOGGING_INDICElogs-app-defaultnoIndice name to save logs
LOGGING_APIKEYyes, username/apikeyAPIKEY to authenticate to ES, must have permisssion to readANDwrite to indice
LOGGING_USERNAMEyes, username/apikeyUsername to authenticate to ES, if APIKEY exist, will use APIKEY instead
LOGGING_PASSWORDyes, username/apikeyPassword to authenticate to ES, if APIKEY exist, will use APIKEY instead
LOGGING_LEVELINFOnooptions: FATAL, ERROR, WARN, INFO, DEBUG, TRACE
LOGGING_ACTIVEfalsenowhen set to false, will not send logs to ES
LOGGING_STDOUTtruenowhen set to false, will not log to stdout
LOGGING_SERVICENAMEgo-loggingnoservice name

# Packages

No description provided by the author
No description provided by the author