leyk/examples/config.py

23 rindas
398 B
Python

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import os
import report
MQTT_USER = "user"
MQTT_PASS = "password"
MQTT_SERVER = "host"
MQTT_TOPIC = "leyk"
#
# Logging
#
__BASEPATH__ = os.path.abspath(os.path.dirname(__file__))
APP_NAME = "leyk"
LOGTARGET = 'stdout' # possible choices are: 'logfile' or 'stdout'
LOGLVL = 'DEBUG'
LOGHOST = 'cutelog'
LOGPORT = 19996
formatter = report.SHORT_FMT