forked from Silverfish/proton-bridge
chore: Set default log level to Debug
This commit is contained in:
@ -113,7 +113,7 @@ func Init(logsPath, level string) error {
|
|||||||
// Debug or Trace.
|
// Debug or Trace.
|
||||||
func setLevel(level string) error {
|
func setLevel(level string) error {
|
||||||
if level == "" {
|
if level == "" {
|
||||||
return nil
|
level = "debug"
|
||||||
}
|
}
|
||||||
|
|
||||||
logLevel, err := logrus.ParseLevel(level)
|
logLevel, err := logrus.ParseLevel(level)
|
||||||
|
|||||||
Reference in New Issue
Block a user