[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] logger is one of vdsm logger, see /etc/vdsm/logger.conf for the names. Without logger, the root logger is modified. To change logging level permanently, edit /etc/vdsm/logger.conf. Nir

----- Original Message -----
From: "Nir Soffer" <nsoffer@redhat.com> To: "devel" <devel@ovirt.org>, "Adam Litke" <alitke@redhat.com>, "Dan Kenigsberg" <danken@redhat.com>, "Edward Haas" <edwardh@redhat.com>, "Francesco Romani" <fromani@redhat.com>, "Piotr Kliczewski" <pkliczew@redhat.com>, "ybronhei" <ybronhei@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
participants (2)
-
Francesco Romani
-
Nir Soffer