fix pfxlog prefix (#158)

This commit is contained in:
Michael Quigley 2023-01-13 15:12:18 -05:00
parent f5ab73bcb0
commit 0022b63b68
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -10,7 +10,7 @@ import (
)
func init() {
pfxlog.GlobalInit(logrus.InfoLevel, pfxlog.DefaultOptions().SetTrimPrefix("github.com/openziti-test-kitchen/"))
pfxlog.GlobalInit(logrus.InfoLevel, pfxlog.DefaultOptions().SetTrimPrefix("github.com/openziti/"))
rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false, "Enable verbose logging")
rootCmd.PersistentFlags().BoolVarP(&panicInstead, "panic", "p", false, "Panic instead of showing pretty errors")
rootCmd.AddCommand(accessCmd)