mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 11:43:43 +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};
|
||||
|
||||
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)
|
||||
crate::db::setup_database()?;
|
||||
|
Loading…
Reference in New Issue
Block a user