You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to update a client's logger's level using the client object's log_level attribute. It is defined as an attribute_accessor, but changing it after creation does absolutely nothing to the actual logger.
Environment Details
OneView SDK Version: 3.1.0
OneView Appliance Version: All
Steps to Reproduce
@client=OneviewSDK::Client.new(url: 'https://oneview.example.com',log_level: :warn)@client.logger.level# Note this value (2)@client.log_level=:info@client.logger.level# Note that this value hasn't changed (still 2)
Expected Result
I expect @client.log_level = :info it to update the logger's level.
Actual Result
The logger's level does not get updated.
The text was updated successfully, but these errors were encountered:
Scenario/Intent
I would like to be able to update a client's logger's level using the client object's
log_level
attribute. It is defined as anattribute_accessor
, but changing it after creation does absolutely nothing to the actual logger.Environment Details
Steps to Reproduce
Expected Result
I expect
@client.log_level = :info
it to update the logger's level.Actual Result
The logger's level does not get updated.
The text was updated successfully, but these errors were encountered: