Skip to content

Commit 6a91620

Browse files
committed
Try to fix
1 parent e56e60e commit 6a91620

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

src/controller/epsilon_controller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ impl EpsilonController {
247247
)
248248
.await?;
249249

250-
debug!("Patch status ({}) : {}", instance_name, json!({ "status": new_status }));
250+
// debug!("Patch status ({}) : {}", instance_name, json!({ "status": new_status }));
251251

252252
let state = &new_status.state;
253253
let close = &new_status.close;

src/epsilon/server/instances/routes.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,23 @@ pub async fn create(
1919
) -> Result<String, EpsilonError> {
2020
let instance_provider = context.get_instance_provider();
2121

22+
debug!("Test1");
23+
2224
let instance = instance_provider
2325
.start_instance(template, Some(content.0))
2426
.await
2527
.map_err(|_| {
28+
debug!("Test2");
29+
2630
EpsilonError::ApiServerError(format!(
2731
"Failed to create an instance from template ({})",
2832
template
2933
))
3034
})
3135
.unwrap();
3236

37+
debug!("Test3");
38+
3339
let result = serde_json::to_string(&instance.to_json().await.unwrap()).unwrap();
3440

3541
info!("An instance has been created (template={})", template);

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ async fn main() -> EResult<()> {
5656

5757
std::env::set_var(
5858
"RUST_LOG",
59-
"epsilon=info, epsilon=error, epsilon=debug, epsilon=trace, rocket=info",
59+
"error,warn,info,debug,trace",
6060
);
6161

6262
env_logger::Builder::new()

0 commit comments

Comments
 (0)