diff options
| author | Teddy Wing | 2017-11-16 23:59:00 +0100 | 
|---|---|---|
| committer | Teddy Wing | 2017-11-16 23:59:00 +0100 | 
| commit | ac6454cce79df2025ee5382e4534bd887ecafa50 (patch) | |
| tree | 8c8e79a1ea82a6ba63c6b22c16d99bd848fe6f20 | |
| parent | a8a9d4b11e7ea69b2ff201d3cf75c38a61370c08 (diff) | |
| download | kipper-ac6454cce79df2025ee5382e4534bd887ecafa50.tar.bz2 | |
find_and_track_build_and_update_status(): Make `info` logs `debug`
These were useful during development and in bug hunting, but I get the
sense that they'd be more annoying in production. Change these to
`debug` log messages.
| -rw-r--r-- | src/jenkins.rs | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/jenkins.rs b/src/jenkins.rs index 273e26c..ef155fc 100644 --- a/src/jenkins.rs +++ b/src/jenkins.rs @@ -110,7 +110,7 @@ pub fn find_and_track_build_and_update_status(      let t20_minutes = 60 * 20;      for job_url in jobs { -        info!("Looking for job: {}", job_url); +        debug!("Looking for job: {}", job_url);          let mut job = request_job(              &jenkins_url, @@ -120,7 +120,7 @@ pub fn find_and_track_build_and_update_status(          // Does `displayName` match          if job_for_commit(&job, &commit_ref) { -            info!("Job found: {}", job_url); +            debug!("Job found: {}", job_url);              // Start timer              let now = Instant::now(); @@ -154,7 +154,7 @@ pub fn find_and_track_build_and_update_status(                  //   call github::update_commit_status                  //   stop -                info!("Waiting for job to finish"); +                debug!("Waiting for job to finish");                  if now.elapsed().as_secs() == t20_minutes {                      github::update_commit_status( | 
