Skip to content

Commit f420ade

Browse files
committed
more compact logging on the tracing side
1 parent 74755e9 commit f420ade

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub fn get_db_path() -> PathBuf {
4848
basepath
4949
}
5050
fn main() {
51-
tracing_subscriber::fmt::init();
51+
tracing_subscriber::fmt::fmt().compact().without_time().init();
5252
fn get_env_or_fallback<S: Into<Str>>(key: &str, fallback: S) -> Str {
5353
std::env::var(key).map(String::into_boxed_str).unwrap_or_else(|_e| {
5454
let fallback: Str = fallback.into();

0 commit comments

Comments
 (0)