vspd: Fix invalid default config log level. (#371)
* vspd: Fix invalid default config log level. slog.LevelDebug.String() returns "DBG" which is not valid per the config validation rules specified below. Hard-code "debug" instead. * Update year.
This commit is contained in:
parent
2c1bb0027f
commit
d00ba70f94
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
ISC License
|
ISC License
|
||||||
|
|
||||||
Copyright (c) 2020-2022 The Decred developers
|
Copyright (c) 2020-2023 The Decred developers
|
||||||
|
|
||||||
Permission to use, copy, modify, and distribute this software for any
|
Permission to use, copy, modify, and distribute this software for any
|
||||||
purpose with or without fee is hereby granted, provided that the above
|
purpose with or without fee is hereby granted, provided that the above
|
||||||
|
|||||||
@ -28,7 +28,7 @@ const appName = "vspd"
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
defaultListen = ":8800"
|
defaultListen = ":8800"
|
||||||
defaultLogLevel = slog.LevelDebug.String()
|
defaultLogLevel = "debug"
|
||||||
defaultMaxLogSize = int64(10)
|
defaultMaxLogSize = int64(10)
|
||||||
defaultLogsToKeep = 20
|
defaultLogsToKeep = 20
|
||||||
defaultVSPFee = 3.0
|
defaultVSPFee = 3.0
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<div class="col-md-4 col-12 footer__credit d-flex justify-content-center align-items-center">
|
<div class="col-md-4 col-12 footer__credit d-flex justify-content-center align-items-center">
|
||||||
<p class="py-4 m-0">
|
<p class="py-4 m-0">
|
||||||
Decred Developers | 2020-2022
|
Decred Developers | 2020-2023
|
||||||
<br />
|
<br />
|
||||||
The source code is available on <a href="https://github.com/decred/vspd" target="_blank" rel="noopener noreferrer">GitHub</a>
|
The source code is available on <a href="https://github.com/decred/vspd" target="_blank" rel="noopener noreferrer">GitHub</a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user