mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
fix: ldk use info log level by default (#517)
* fix: ldk use info log level by default * chore: also decrease Alby Hub log level
This commit is contained in:
parent
f09c3bc7bb
commit
6da4dbdb50
3 changed files with 4 additions and 4 deletions
|
|
@ -4,10 +4,10 @@ LOG_EVENTS=false
|
|||
# do not link your current account when you run a dev instance (so it stays pointing at your mainnet one)
|
||||
AUTO_LINK_ALBY_ACCOUNT=false
|
||||
|
||||
# LDK trace log level
|
||||
# Optionally LDK debug log level to get more info
|
||||
#LDK_LOG_LEVEL=2
|
||||
# Logrus debug log level
|
||||
LOG_LEVEL=5
|
||||
LOG_LEVEL=4
|
||||
|
||||
#WORK_DIR=.data
|
||||
#DATABASE_URI=nwc.db
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ type AppConfig struct {
|
|||
LDKNetwork string `envconfig:"LDK_NETWORK" default:"bitcoin"`
|
||||
LDKEsploraServer string `envconfig:"LDK_ESPLORA_SERVER" default:"https://electrs.getalbypro.com"` // TODO: remove LDK prefix
|
||||
LDKGossipSource string `envconfig:"LDK_GOSSIP_SOURCE"`
|
||||
LDKLogLevel string `envconfig:"LDK_LOG_LEVEL"`
|
||||
LDKLogLevel string `envconfig:"LDK_LOG_LEVEL" default:"3"`
|
||||
MempoolApi string `envconfig:"MEMPOOL_API" default:"https://mempool.space/api"`
|
||||
AlbyAPIURL string `envconfig:"ALBY_API_URL" default:"https://api.getalby.com"`
|
||||
AlbyClientId string `envconfig:"ALBY_OAUTH_CLIENT_ID" default:"J2PbXS1yOf"`
|
||||
|
|
|
|||
2
fly.toml
2
fly.toml
|
|
@ -12,7 +12,7 @@ swap_size_mb = 2048
|
|||
|
||||
[env]
|
||||
DATABASE_URI = '/data/nwc.db'
|
||||
LDK_LOG_LEVEL = '2'
|
||||
LDK_LOG_LEVEL = '3'
|
||||
LOG_LEVEL = '5'
|
||||
WORK_DIR = '/data'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue