mirror of
https://github.com/callebtc/electronwall.git
synced 2026-01-31 12:54:54 +01:00
log-json: true
This commit is contained in:
@@ -13,7 +13,7 @@ var Configuration = struct {
|
||||
MacaroonPath string `yaml:"macaroon_path"`
|
||||
TLSPath string `yaml:"tls-path"`
|
||||
Debug bool `yaml:"debug"`
|
||||
LogMode string `yaml:"log-mode"`
|
||||
LogJson bool `yaml:"log-json"`
|
||||
ChannelAllowlist []string `yaml:"channel-allowlist"`
|
||||
ChannelDenylist []string `yaml:"channel-denylist"`
|
||||
ChannelRejectMessage string `yaml:"channel-reject-message"`
|
||||
@@ -31,7 +31,7 @@ func init() {
|
||||
}
|
||||
|
||||
func checkConfig() {
|
||||
setLogger(Configuration.Debug, Configuration.LogMode == "json")
|
||||
setLogger(Configuration.Debug, Configuration.LogJson)
|
||||
welcome()
|
||||
|
||||
if Configuration.Host == "" {
|
||||
|
||||
@@ -8,7 +8,7 @@ macaroon_path: "/home/bitcoin/.lnd/data/chain/bitcoin/mainnet/admin.macaroon"
|
||||
tls-path: "/home/bitcoin/.lnd/tls.cert"
|
||||
debug: true
|
||||
# to get only json output
|
||||
# log-mode: "json"
|
||||
# log-json: true
|
||||
|
||||
# ----- Channel openings -----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user