add request uri to start line of sql log

This commit is contained in:
Uwe Steinmann 2022-06-01 15:01:38 +02:00
parent fce2ba2bd7
commit dc4c26916b

View File

@ -217,7 +217,7 @@ class SeedDMS_Core_DatabaseAccess {
if($this->_logfile) {
$this->_logfp = fopen($this->_logfile, 'a+');
if($this->_logfp)
fwrite($this->_logfp, microtime()." BEGIN ------------------------------------------\n");
fwrite($this->_logfp, microtime()." BEGIN ".$_SERVER['REQUEST_URI']." ------------------------------------------\n");
} else
$this->_logfp = null;
// $tt*****id is a hack to ensure that we do not try to create the