diff --git a/Cargo.lock b/Cargo.lock index 31baa55..bf5967a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -61,7 +61,7 @@ checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" [[package]] name = "amp-apiserver" -version = "0.6.6" +version = "0.6.7" dependencies = [ "amp-common", "amp-resources", @@ -121,7 +121,7 @@ dependencies = [ [[package]] name = "amp-controllers" -version = "0.6.6" +version = "0.6.7" dependencies = [ "amp-common", "amp-resolver", @@ -146,7 +146,7 @@ dependencies = [ [[package]] name = "amp-crdgen" -version = "0.6.6" +version = "0.6.7" dependencies = [ "amp-common", "clap", @@ -158,7 +158,7 @@ dependencies = [ [[package]] name = "amp-resolver" -version = "0.6.6" +version = "0.6.7" dependencies = [ "amp-common", "amp-resources", @@ -172,7 +172,7 @@ dependencies = [ [[package]] name = "amp-resources" -version = "0.6.6" +version = "0.6.7" dependencies = [ "amp-common", "anyhow", @@ -192,7 +192,7 @@ dependencies = [ [[package]] name = "amp-syncer" -version = "0.6.6" +version = "0.6.7" dependencies = [ "amp-common", "async-nats", diff --git a/Cargo.toml b/Cargo.toml index b895900..6a30e96 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.6.6" +version = "0.6.7" edition = "2021" license = "Apache-2.0" repository = "https://github.com/amphitheatre-app/amphitheatre" diff --git a/syncer/src/main.rs b/syncer/src/main.rs index 1510621..e12d08a 100644 --- a/syncer/src/main.rs +++ b/syncer/src/main.rs @@ -31,7 +31,7 @@ mod handle; #[tokio::main] async fn main() -> Result<(), async_nats::Error> { let filter = EnvFilter::builder().with_default_directive(LevelFilter::INFO.into()).from_env_lossy(); - tracing_subscriber::fmt().with_env_filter(filter).init(); + tracing_subscriber::fmt().without_time().with_target(false).with_env_filter(filter).init(); // This returns an error if the `.env` file doesn't exist, but that's not what we want // since we're not going to use a `.env` file if we deploy this application. @@ -40,12 +40,12 @@ async fn main() -> Result<(), async_nats::Error> { // Parse our configuration from the environment. // This will exit with a help message if something is wrong. let config = Config::parse(); - info!("Configuration: {:#?}", config); + debug!("Configuration: {:?}", config); // initialize some variables let workspace = Path::new(&config.workspace); - info!("Connecting to NATS server: {}", config.nats_url); + debug!("Connecting to NATS server: {}", config.nats_url); let consumer = connect(&config).await?; // Consume messages from the consumer @@ -86,7 +86,7 @@ async fn main() -> Result<(), async_nats::Error> { // If we're in once mode, exit after overwrite. if config.once && req.kind == Overwrite { - info!("Exit after sync once (Overwrite), bye!"); + info!("Finished syncing, exiting..."); std::process::exit(0); } }