It is actually not... If you take a closer look, it only debugs the query if the log is at DEBUG level, but if it is only at ERROR level, we won't be able to get the query.
Regards, *Marcos García* [email protected] 2015-07-20 14:34 GMT+02:00 Laurent Destailleur (aka Eldy) < [email protected]>: > Can you point me the line were information were removed into commit > > https://github.com/Dolibarr/dolibarr/commit/be6f99c10e0983d8088ec81d008089530270cb20 > > The only thinkg i sea is merging several line into one to have one line > per one error. > > May be you are speaking about the > dol_syslog(get_class($this)."::query SQL Error query: ".$query, LOG_ERR); > > This line with full query string is already reported into the query method. > > 2015-07-18 11:45 GMT+02:00 Marcos García <[email protected]>: > >> Hi, >> >> In june of last year I've improved SQL error logging so that we could >> trace the database queries that were triggering an error in the database >> >> >> https://github.com/Dolibarr/dolibarr/commit/74ee3e9823ccc1bc51ba75fe1003acf7cd6f377b >> >> But it seems that they got removed two months later in this commit >> https://github.com/Dolibarr/dolibarr/commit/be6f99c10e0983d8088ec81d008089530270cb20 >> >> I'd really want to know why my changes got removed... >> >> Regards, >> >> >> *Marcos García* >> >> [email protected] >> >> >> _______________________________________________ >> Dolibarr-dev mailing list >> [email protected] >> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev >> >> > > > -- > EMail: [email protected] > Web: http://www.destailleur.fr > > ------------------------------------------------------------------------------------ > Google+: https://plus.google.com/+LaurentDestailleur/ > Facebook: https://www.facebook.com/Destailleur.Laurent > Twitter: http://www.twitter.com/eldy10 > > ------------------------------------------------------------------------------------ > * Dolibarr (Project leader): http://www.dolibarr.org (make a donation for > Dolibarr project via Paypal: [email protected]) > * AWStats (Author) : http://awstats.sourceforge.net (make a donation for > AWStats project via Paypal: [email protected]) > * AWBot (Author) : http://awbot.sourceforge.net > * CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net > > > > _______________________________________________ > Dolibarr-dev mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/dolibarr-dev > >
_______________________________________________ Dolibarr-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
