From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Grac Date: Thu, 03 Apr 2014 10:58:01 +0200 Subject: [Cluster-devel] [PATCH] fencing: Replace printing to stderr with proper logging solution In-Reply-To: <533C539E.3090608@redhat.com> References: <1396451177-3648-1-git-send-email-mgrac@redhat.com> <533C539E.3090608@redhat.com> Message-ID: <533D2299.9080408@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 04/02/2014 08:14 PM, Fabio M. Di Nitto wrote: > On 04/02/2014 05:06 PM, Marek 'marx' Grac wrote: >> This patch replaces local solutions by standard python logging module. Levels of messages >> is not final, it just reflects the previous state. So, debug level is available only with >> -v / verbose option. > Hi Marek, > > are we keeping out-of-tree agents in sync too? specifically fence_virt > and fence_sanlock. This solution does not change behaviour of fence agents, it is more internal thing which is python based so there is no need to change anything else. After we will found out where to add logging and to which levels (ERROR, INFO, DEBUG) then it will be good to make other agents work in same way. m,