log output to std
This commit is contained in:
parent
8274c5cd1a
commit
fda8bcddc8
@ -28,8 +28,8 @@ log_level = logging.INFO
|
||||
LOG_FILE = "/var/log/greenhouse.log"
|
||||
LOG_FORMAT = "%(asctime)s %(levelname)s %(message)s"
|
||||
|
||||
logging.basicConfig(format=LOG_FORMAT, level=log_level, filename=LOG_FILE)
|
||||
#logging.basicConfig(format=LOG_FORMAT, level=log_level)
|
||||
# logging.basicConfig(format=LOG_FORMAT, level=log_level, filename=LOG_FILE)
|
||||
logging.basicConfig(format=LOG_FORMAT, level=log_level)
|
||||
log = logging.getLogger('greenhouse')
|
||||
|
||||
class Heat(Thread):
|
||||
|
Loading…
Reference in New Issue
Block a user