CC-3736: Full Install fail at Ubuntu 12.04
-Fix logger format
This commit is contained in:
parent
234ee0f696
commit
f59bae4246
1 changed files with 2 additions and 3 deletions
|
@ -102,12 +102,11 @@ try:
|
||||||
print e
|
print e
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
logging.basicConfig(format='%(asctime) %(message)s')
|
logging.basicConfig(format='%(message)s')
|
||||||
logger = logging.getLogger()
|
|
||||||
|
|
||||||
#generate liquidsoap config file
|
#generate liquidsoap config file
|
||||||
#access the DB and generate liquidsoap.cfg under /etc/airtime/
|
#access the DB and generate liquidsoap.cfg under /etc/airtime/
|
||||||
ac = api_client.api_client_factory(config, logger)
|
ac = api_client.api_client_factory(config, logging.getLogger())
|
||||||
ss = ac.get_stream_setting()
|
ss = ac.get_stream_setting()
|
||||||
|
|
||||||
if ss is not None:
|
if ss is not None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue