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

Revert "Set up Java logging with level TRACE in testsuite" #3500

Merged
merged 1 commit into from
Mar 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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