[ovirt-devel] [VDSM] Using INFO log by default

Francesco Romani fromani at redhat.com
Wed Jul 27 10:09:56 UTC 2016


----- Original Message -----
> From: "Nir Soffer" <nsoffer at redhat.com>
> To: "devel" <devel at ovirt.org>, "Adam Litke" <alitke at redhat.com>, "Dan Kenigsberg" <danken at redhat.com>, "Edward Haas"
> <edwardh at redhat.com>, "Francesco Romani" <fromani at redhat.com>, "Piotr Kliczewski" <pkliczew at redhat.com>, "ybronhei"
> <ybronhei at redhat.com>
> Sent: Wednesday, July 27, 2016 11:56:21 AM
> Subject: [VDSM] Using INFO log by default
> 
> Hi all,
> 
> We are using now INFO log level by default.
> 
> This has two important effects:
> 
> - We are not generating huge logs filling your disk
> - Some flows may not be logged properly now
> 
> Please check that your code is logged properly - basically any state
> change in the system must be logged using log.info().
> 
> To increase log level temporarily, use:
> 
>     vdsClient -s 0 setLogLevel LEVEL [logger]

And if this doesn't work, please reach me so I can fix.
Only one caveat: make sure to pick the right logger name, because logging configuration in Vdsm is complex.

Bests,

-- 
Francesco Romani
RedHat Engineering Virtualization R & D
Phone: 8261328
IRC: fromani



More information about the Devel mailing list