[node-patches] Change in ovirt-node[master]: ovirt-node-upgrade: fix logging message spacing

Alon Bar-Lev alonbl at redhat.com
Tue May 21 05:39:18 UTC 2013


Alon Bar-Lev has posted comments on this change.

Change subject: ovirt-node-upgrade: fix logging message spacing
......................................................................


Patch Set 1: (1 inline comment)

....................................................
File scripts/ovirt-node-upgrade.py
Line 50: 
Line 51: def initLogger():
Line 52:     logger = logging.getLogger(LOG_PREFIX)
Line 53:     log_file = "/var/log/ovirt-upgrade.log"
Line 54:     formatter = logging.Formatter(fmt='%(asctime)s - %(levelname)s - '
levelname, please add -8s
Line 55:                                   '%(module)s - %(message)s')
Line 56:     conformatter = logging.Formatter('%(name)-12s: %(levelname)-8s'
Line 57:                                      ' %(message)s')
Line 58:     handler = logging.FileHandler(log_file)


--
To view, visit http://gerrit.ovirt.org/14912
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I14c7a4904b077a64b09a3402370337bad27b333d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>



More information about the node-patches mailing list