Factoring code is always a good idea, you have my vote !
2014-06-10 13:59 GMT+02:00 Marcos García <marcos...@gmail.com>: > Hi all: > > I found many dol_syslog calls from all over the code logging SQL to the > syslog module, so I found more appropiate to move them to the database > handler query function and decrease logging level to DEBUG ( > https://github.com/Dolibarr/dolibarr/pull/1647/files). > > The thing is that Francis Appels (https://github.com/fappels) warned me > that there are many more dol_syslog calls with format "class/file::function > sql=".$sql which are around of 800 calls. > > I propose to change "class/file::function sql=".$sql to > "class/file::function". Because I find more appropiate to log SQL from the > SQL handler and no from all over the code. > > Before going into that, what do you think about it? > > Regards, > > > *Marcos García* > > marcos...@gmail.com > > > _______________________________________________ > Dolibarr-dev mailing list > Dolibarr-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev > > -- *Raphaël Doursenaud* Directeur technique (CTO) Expert certifié en déploiement Google Apps <https://gpcsolutions.fr/raphael-doursenaud-google-apps-certified-deployment-specialist> +33 (0)5 35 53 97 13 - +33 (0)6 68 48 20 10 -- <http://gpcsolutions.fr> http://gpcsolutions.fr Technopole Hélioparc 2 avenue du Président Pierre Angot 64053 PAU CEDEX 9 SARL GPC.solutions au capital de 7 500 € - R.C.S. PAU 528 995 921 <https://www.google.com/a/partnersearch/#partner?partner_id=46687933_a0n60000000sqpWAAQ> <http://wiki.dolibarr.org/index.php/Dolibarr_suppliers_France#GPC.solutions>
_______________________________________________ Dolibarr-dev mailing list Dolibarr-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/dolibarr-dev