logging: include a timestamp with millisecond precision

This commit is contained in:
Augie Fackler 2020-07-27 22:55:13 -04:00
parent c4a069f246
commit 91f04b3fe9

View File

@ -125,7 +125,10 @@ fn main() -> anyhow::Result<()> {
}
let level = if DEBUG.flag { 3 } else { 2 };
stderrlog::new().verbosity(level).init()?;
stderrlog::new()
.verbosity(level)
.timestamp(stderrlog::Timestamp::Millisecond)
.init()?;
if stun_servers.is_empty() {
stun_servers = default_stun_servers;