Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable printing time when logging to STDERR. #1338

Merged
merged 2 commits into from May 26, 2017

Conversation

mudler
Copy link
Member

@mudler mudler commented May 24, 2017

If a file for log is supplied, then format the logger to print also the time, otherwise don't.

Related Progress issue: Poo#13866

WIP until i figure out why unit test is failing on travis (but succeds locally)
Added tests cases as well to cover why CI was failing

@mudler mudler force-pushed the logging_stderr branch 2 times, most recently from a47ff9a to bd8d934 Compare May 24, 2017 12:18
@codecov
Copy link

codecov bot commented May 24, 2017

Codecov Report

Merging #1338 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1338      +/-   ##
==========================================
+ Coverage   86.84%   86.86%   +0.01%     
==========================================
  Files         101      101              
  Lines        7427     7436       +9     
==========================================
+ Hits         6450     6459       +9     
  Misses        977      977
Impacted Files Coverage Δ
lib/OpenQA/ServerStartup.pm 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c5f3901...5f76b78. Read the comment docs.

@mudler mudler force-pushed the logging_stderr branch 11 times, most recently from cd55fe0 to 005e648 Compare May 24, 2017 14:40
@mudler mudler changed the title Disable printing time when logging to STDERR. [WIPDisable printing time when logging to STDERR. May 24, 2017
@mudler mudler changed the title [WIPDisable printing time when logging to STDERR. [WIP] Disable printing time when logging to STDERR. May 24, 2017
If a file for logging is supplied then set the logger format to print also the time, otherwise don't.

Related Progress issue: https://progress.opensuse.org/issues/13866
Refactor config testing adding more test cases and avoiding also to overwrite configuration file shipped in the sources.
@mudler mudler changed the title [WIP] Disable printing time when logging to STDERR. Disable printing time when logging to STDERR. May 25, 2017
@coolo coolo merged commit 80bdc24 into os-autoinst:master May 26, 2017
@mudler mudler deleted the logging_stderr branch August 14, 2017 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants