mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-04 13:37:41 +03:00
Slightly improve debug logging for complex authentication pipelines
This commit is contained in:
parent
1d044249c2
commit
ef7fa210dc
5 changed files with 22 additions and 13 deletions
10
maddy.go
10
maddy.go
|
@ -110,15 +110,15 @@ func init() {
|
|||
Value: filepath.Join(ConfigDirectory, "maddy.conf"),
|
||||
},
|
||||
)
|
||||
maddycli.AddGlobalFlag(&cli.BoolFlag{
|
||||
Name: "debug",
|
||||
Usage: "enable debug logging early",
|
||||
Destination: &log.DefaultLogger.Debug,
|
||||
})
|
||||
maddycli.AddSubcommand(&cli.Command{
|
||||
Name: "run",
|
||||
Usage: "Start the server",
|
||||
Flags: []cli.Flag{
|
||||
&cli.BoolFlag{
|
||||
Name: "debug",
|
||||
Usage: "enable debug logging early",
|
||||
Destination: &log.DefaultLogger.Debug,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "libexec",
|
||||
Value: DefaultLibexecDirectory,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue