Skip to content

Commit

Permalink
Revert "Set up Java logging with level TRACE in testsuite" (#3500)
Browse files Browse the repository at this point in the history
This reverts commit 7c3089b.
  • Loading branch information
srbarrios authored Mar 31, 2021
1 parent 6fe2b0a commit e992324
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
4 changes: 0 additions & 4 deletions testsuite/features/core/first_settings.feature
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ Feature: Very first settings
Scenario: Wait for refresh of list of products to finish
When I wait until mgr-sync refresh is finished

Scenario: Set up Java logging with level TRACE
When I increase Java log level to "trace" on server
And I restart the tomcat service

@server_http_proxy
Scenario: Setup HTTP proxy
Given I am authorized for the "Admin" section
Expand Down
13 changes: 0 additions & 13 deletions testsuite/features/step_definitions/command_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -383,19 +383,6 @@
end
end

When(/^I increase Java log level to "([^"]*)" on server$/) do |log_level|
$server.run(
"cat >>/srv/tomcat/webapps/rhn/WEB-INF/classes/log4j.properties <<CONFIG
log4j.logger.com.suse.manager.reactor=#{log_level.upcase}
log4j.logger.com.suse.manager.webui.services.impl=#{log_level.upcase}
CONFIG"
)
end

When(/^I restart the tomcat service$/) do
$server.run('systemctl restart tomcat.service')
end

When(/^I restart the spacewalk service$/) do
$server.run('spacewalk-service restart')
end
Expand Down

0 comments on commit e992324

Please sign in to comment.