Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1078745

Summary: [RFE] Arrange vdsm logging handler per module
Product: [oVirt] vdsm Reporter: Yaniv Bronhaim <ybronhei>
Component: RFEsAssignee: Yaniv Bronhaim <ybronhei>
Status: CLOSED WONTFIX QA Contact: Gil Klein <gklein>
Severity: medium Docs Contact:
Priority: medium    
Version: ---CC: bazulay, bugs, fromani, gklein, mgoldboi, rbalakri, s.kieske, srevivo
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: sbonazzo: ovirt-4.1-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-19 11:01:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yaniv Bronhaim 2014-03-20 09:28:51 UTC
Description of problem:

Currently we have root,vds,Storage,metadata,ovirt_hosted_engine_ha logger handles. 
Although vdsm core code uses mostly root and vds handlers. 
The separation between the logging handlers in the code is not clear, and if it would it might help to assist for filtering and reduce the amount of prints if required for the user\developer.

I suggest to go over the code and relate prints to specific handler (storage,network,virt and core code\infa handlers)

In addition, this issue will assist also for modules separation which is planed  to be

Comment 1 Yaniv Bronhaim 2014-06-18 13:11:48 UTC
We left with the arrangement of Network and Virt logs. virt representative, network representative, I would like to hear your opinion about it. Thanks.

Comment 2 Antoni Segura Puimedon 2014-06-18 13:15:54 UTC
I would certainly like to have a network specific logger.

Comment 3 Francesco Romani 2014-06-18 13:16:13 UTC
I like this. logging needs a serious cleanup. I'm in to implement this in the virt subsystem.

Comment 4 Yaniv Bronhaim 2015-04-12 14:24:46 UTC
Moving to future plans - If we decide to split Vdsm to storage, network and virt separate daemons, the log separation will be relevant again. But as Vdsm now these log handlers separation won't give any benefit that worth it except disabling specific log - but as it is not a request from any user\developer I intend to delay this work.

Comment 5 Yaniv Bronhaim 2016-04-19 11:01:17 UTC
We haven't done anything in this area. I close the RFE and will re-open it when it'll be more relevant (probably when we'll separate vdsm to several vertical daemons)