Bug 1411993

Summary: $websocket_log level is not configurable
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Dávid Halász <dhalasz>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Kulkarni <kkulkarn>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: hkataria, jhardy, mpovolny, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0Flags: kkulkarn: needinfo+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1412285 (view as bug list) Environment:
Last Closed: 2017-06-12 17:34:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1412285    

Description Satoe Imaishi 2017-01-10 23:14:29 UTC
ManageIQ issue https://github.com/ManageIQ/manageiq/issues/13259:

The default log level for the websocket_log is info and the messages mirrored to the evm.log are ERROR. We don't expose a way to configure the log level for this logger.

irb(main):001:0> $websocket_log.level
=> 1
irb(main):002:0> $websocket_log.mirror_level
=> 3

We should expose the log level for this logger, similar to how we do for many other mirrored loggers.


PR: https://github.com/ManageIQ/manageiq/pull/13265

Comment 6 Kedar Kulkarni 2017-05-22 17:31:58 UTC
Websocket log level can now be configured through Configuration -> Advanced, by editing the line :level_websocket: to contain info, error, fatal, debug, or any other valid log level. 

FYI, websocket logs can be found at /var/www/miq/vmdb/log/websocket.log on your appliance.