mirror of
https://github.com/lune-org/lune.git
synced 2025-05-04 10:43:57 +01:00
Write tracing output to stderr instead of stdout
This commit is contained in:
parent
b1d60d904c
commit
58a65afc2c
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#![allow(clippy::cargo_common_metadata)]
|
#![allow(clippy::cargo_common_metadata)]
|
||||||
|
|
||||||
use std::process::ExitCode;
|
use std::{io::stderr, process::ExitCode};
|
||||||
|
|
||||||
#[cfg(feature = "cli")]
|
#[cfg(feature = "cli")]
|
||||||
pub(crate) mod cli;
|
pub(crate) mod cli;
|
||||||
|
@ -17,6 +17,7 @@ async fn main() -> ExitCode {
|
||||||
.with_target(true)
|
.with_target(true)
|
||||||
.with_timer(tracing_subscriber::fmt::time::uptime())
|
.with_timer(tracing_subscriber::fmt::time::uptime())
|
||||||
.with_level(true)
|
.with_level(true)
|
||||||
|
.with_writer(stderr)
|
||||||
.init();
|
.init();
|
||||||
|
|
||||||
if let Some(bin) = standalone::check().await {
|
if let Some(bin) = standalone::check().await {
|
||||||
|
|
Loading…
Add table
Reference in a new issue