Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
resource-agents
eliminated-logging.basicConfig.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eliminated-logging.basicConfig.patch of Package resource-agents
From 5c182c4018728e3cdcc6846d74d373cc5b0639dd Mon Sep 17 00:00:00 2001 From: Pablo Bravo <pablo.bravo@suse.com> Date: Thu, 30 Apr 2020 09:45:30 +0200 Subject: [PATCH] Eliminated logging.basicConfig() That method installed a root logger to be used with logging methods. The root logger is a stream logger which sends output to stderr, so every log data ended up in stderr as well --- heartbeat/ocf.py | 1 - 1 file changed, 1 deletion(-) diff --git a/heartbeat/ocf.py b/heartbeat/ocf.py index 2534728c8..8f68728fb 100644 --- a/heartbeat/ocf.py +++ b/heartbeat/ocf.py @@ -98,7 +98,6 @@ def emit(self, record): HA_LOGFILE = env.get("HA_LOGFILE") HA_DEBUGLOG = env.get("HA_DEBUGLOG") -logging.basicConfig() log = logging.getLogger(os.path.basename(argv[0])) log.setLevel(logging.DEBUG)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor