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:
Jamie Holdstock 2023-02-24 14:55:25 +00:00 committed by GitHub
parent 2c1bb0027f
commit d00ba70f94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
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
purpose with or without fee is hereby granted, provided that the above

View File

@ -28,7 +28,7 @@ const appName = "vspd"
var (
defaultListen = ":8800"
defaultLogLevel = slog.LevelDebug.String()
defaultLogLevel = "debug"
defaultMaxLogSize = int64(10)
defaultLogsToKeep = 20
defaultVSPFee = 3.0

View File

@ -15,7 +15,7 @@
<div class="col-md-4 col-12 footer__credit d-flex justify-content-center align-items-center">
<p class="py-4 m-0">
Decred Developers | 2020-2022
Decred Developers | 2020-2023
<br />
The source code is available on <a href="https://github.com/decred/vspd" target="_blank" rel="noopener noreferrer">GitHub</a>
</p>