auth utils, log setup

This commit is contained in:
Evan Feenstra
2022-06-10 12:39:07 -07:00
parent 8946a4cd8f
commit 770c474ea1
3 changed files with 111 additions and 12 deletions

View File

@@ -11,6 +11,7 @@ use std::env;
use tokio::sync::{mpsc, oneshot};
use vls_proxy::client::UnixClient;
use vls_proxy::connection::{open_parent_fd, UnixConnection};
use vls_proxy::util::setup_logging;
pub struct Channel {
pub sequence: u16,
@@ -33,7 +34,7 @@ pub struct ChannelReply {
fn main() -> anyhow::Result<()> {
let parent_fd = open_parent_fd();
util::setup_logging("hsmd ", "info");
setup_logging("hsmd ", "info");
let app = App::new("signer")
.setting(AppSettings::NoAutoVersion)
.about("CLN:mqtt - connects to an embedded VLS over a MQTT connection")