Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Tone down logging on travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
arscan committed Jun 9, 2019
1 parent 55c0ecf commit 5c821d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ before_script:
- bower install
- npm install -g istanbul
script:
- ./bin/rake test
- FHIR_LOG_LEVEL=fatal ./bin/rake test # lower log levels overwhelm travis
- ./bin/teaspoon
4 changes: 4 additions & 0 deletions config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@
# config.action_view.raise_on_missing_translations = true

config.active_job.queue_adapter = :inline

if ['debug', 'info', 'warn', 'error', 'fatal', 'unknown'].include? ENV['FHIR_LOG_LEVEL']&.downcase
FHIR::logger.level = ENV['FHIR_LOG_LEVEL'].downcase
end
end

0 comments on commit 5c821d3

Please sign in to comment.