chore(log): add config path into log
This commit is contained in:
@@ -19,7 +19,7 @@ func main() {
|
|||||||
|
|
||||||
logger := core.NewLogger(*logLevel, *useJsonFormatLogger)
|
logger := core.NewLogger(*logLevel, *useJsonFormatLogger)
|
||||||
|
|
||||||
logger.Info("Starting tslink server", "level", *logLevel)
|
logger.Info("Starting tslink server", "level", *logLevel, "configPath", *configPath)
|
||||||
cfg, err := core.LoadConfig(*configPath)
|
cfg, err := core.LoadConfig(*configPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.With(
|
logger.With(
|
||||||
|
|||||||
Reference in New Issue
Block a user