jbellomy / bots

Automatically exported from code.google.com/p/bots
0 stars 0 forks source link

display text in console when bots-webserver has started #124

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
2 new options in bots.ini:
- webserver_log_console : indicate if logging to console (True, False)
- webserver_log_console_level : level to log, eg STARTINFO

Original issue reported on code.google.com by hjebb...@gmail.com on 1 Apr 2012 at 8:45

GoogleCodeExporter commented 9 years ago
I want to see configdir in STARTINFO

botsglobal.logger.log(25,_(u'Bots web-server started.'))
botsglobal.logger.log(25,_(u'Bots web-server configdir is "%s".'),configdir)

Original comment by mjg1964 on 8 Apr 2012 at 1:40

GoogleCodeExporter commented 9 years ago
added the line about configdir.
good idea.

Original comment by hjebb...@gmail.com on 8 Apr 2012 at 1:05

GoogleCodeExporter commented 9 years ago
hi Mike,

changed this to:
     botsglobal.logger.log(25,_(u'Bots web-server configdir is "%s".'),botsglobal.ini.get('directories','config'))

this always gives full pathname.

Original comment by hjebb...@gmail.com on 8 Apr 2012 at 2:48

GoogleCodeExporter commented 9 years ago

Original comment by hjebb...@gmail.com on 10 Sep 2013 at 12:45