diff options
| author | Teddy Wing | 2017-11-17 00:02:19 +0100 | 
|---|---|---|
| committer | Teddy Wing | 2017-11-17 00:02:19 +0100 | 
| commit | b2ce62ae7044798d999b5394d3510df4346164cb (patch) | |
| tree | a759bb245dc589cdf0f3413e9eff28a672e737e4 | |
| parent | a8a9d4b11e7ea69b2ff201d3cf75c38a61370c08 (diff) | |
| parent | 43e5b662a991c8ed25f309bd32cbe9942bf6fd85 (diff) | |
| download | kipper-b2ce62ae7044798d999b5394d3510df4346164cb.tar.bz2 | |
Merge branch 'lower-logging-verbosity'
| -rw-r--r-- | src/jenkins.rs | 6 | ||||
| -rw-r--r-- | src/main.rs | 2 | 
2 files changed, 4 insertions, 4 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( diff --git a/src/main.rs b/src/main.rs index 6bb4594..c7be3ee 100644 --- a/src/main.rs +++ b/src/main.rs @@ -113,7 +113,7 @@ fn main() {      stderrlog::new()          .module(module_path!())          .timestamp(stderrlog::Timestamp::Second) -        .verbosity(4) // LogLevel::Trace +        .verbosity(2) // LogLevel::Info          .init()          .expect("Logger failed to initialise"); | 
