forked from vikt0rm/dbus-goecharger
change log level to INFO
This commit is contained in:
@ -189,7 +189,7 @@ class DbusGoeChargerService:
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def _handlechangedvalue(self, path, value):
|
def _handlechangedvalue(self, path, value):
|
||||||
logging.debug("someone else updated %s to %s" % (path, value))
|
logging.info("someone else updated %s to %s" % (path, value))
|
||||||
return True # accept the change
|
return True # accept the change
|
||||||
|
|
||||||
|
|
||||||
@ -198,7 +198,7 @@ def main():
|
|||||||
#configure logging
|
#configure logging
|
||||||
logging.basicConfig( format='%(asctime)s,%(msecs)d %(name)s %(levelname)s %(message)s',
|
logging.basicConfig( format='%(asctime)s,%(msecs)d %(name)s %(levelname)s %(message)s',
|
||||||
datefmt='%Y-%m-%d %H:%M:%S',
|
datefmt='%Y-%m-%d %H:%M:%S',
|
||||||
level=logging.DEBUG,
|
level=logging.INFO,
|
||||||
handlers=[
|
handlers=[
|
||||||
logging.FileHandler("%s/current.log" % (os.path.dirname(os.path.realpath(__file__)))),
|
logging.FileHandler("%s/current.log" % (os.path.dirname(os.path.realpath(__file__)))),
|
||||||
logging.StreamHandler()
|
logging.StreamHandler()
|
||||||
|
Reference in New Issue
Block a user