[SàT dev]Logging and debugging

Goffi goffi at goffi.org
Lun 5 Mai 22:45:24 CEST 2014


An other mistake: it's %%(levelname)s and not %(level)s

Le lundi 5 mai 2014, 21:27:51 Goffi a écrit :
> Sorry, the recommandation are wrong, I forgot that ConfigParser do
> substitution (so you need to escape the %), and quote must no be present.
> So the correct recommandations are as follow:
> 
> 
> recommandations:
> *****************
> 	The default options are alright for production. If you want to develop,
> you can use something like:
> 
> 	[DEFAULT]
> 	log_level=debug
> 	log_fmt=[%%(name)s {%%(profile)s}] %%(message)s
> 
> 	[primitivus]
> 	log_level=debug
> 	log_fmt=%%(level)s: %%(message)s
> 
> 	[wix]
> 	log_level=debug
> 	log_fmt=[%%(name)s] %(message)s
> 
> 
> _______________________________________________
> dev mailing list
> dev at goffi.org
> http://lists.goffi.org/listinfo/dev




Plus d'informations sur la liste de diffusion dev