Python config.ini problems
mmilcic opened this issue · 0 comments
I had problems with making config.ini available
C:\Users\Kruger\firstProj>python -m glhooks config.ini
Traceback (most recent call last):
File "C:\Python27\lib\runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "C:\Python27\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "C:\Python27\lib\site-packages\glhooks_main.py", line 33, in
main()
File "C:\Python27\lib\site-packages\glhooks_main_.py", line 29, in main
server.start(configs, args["--host"], int(args["--port"]))
File "C:\Python27\lib\site-packages\glhooks\server.py", line 22, in start
configs.logger.info("GitLab webhooks server is starting...")
File "C:\Python27\lib\site-packages\glhooks\utils.py", line 20, in decorator
setattr(self, key, getter(self))
File "C:\Python27\lib\site-packages\glhooks\config.py", line 65, in logger
return self._build_logger(self["server"]["log_file"])
KeyError: u'log_file'
Can you help me set it up at localhost (my local webserver)