mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 19:46:50 +00:00
Improve tracing output
This commit is contained in:
parent
26a6261312
commit
8b2e8bd4e5
@ -22,7 +22,11 @@ use std::ops::DerefMut;
|
|||||||
use std::{mem, thread};
|
use std::{mem, thread};
|
||||||
|
|
||||||
fn main() -> Result<(), Error> {
|
fn main() -> Result<(), Error> {
|
||||||
tracing_subscriber::fmt::init();
|
tracing_subscriber::fmt::fmt()
|
||||||
|
.without_time()
|
||||||
|
.with_file(cfg!(debug_assertions))
|
||||||
|
.with_line_number(cfg!(debug_assertions))
|
||||||
|
.init();
|
||||||
|
|
||||||
// Setup the database (possibly create, possibly upgrade)
|
// Setup the database (possibly create, possibly upgrade)
|
||||||
crate::db::setup_database()?;
|
crate::db::setup_database()?;
|
||||||
|
Loading…
Reference in New Issue
Block a user