Mobile app version of vmapp.org
Login or Join
Marchetta884

: Change /lib/Zend/Log.php:345 protected function _packEvent($message, $priority) { return array_merge(array( 'timestamp' => date($this->_timestampFormat), 'message'

@Marchetta884

change
/lib/Zend/Log.php:345

protected function _packEvent($message, $priority)
{
return array_merge(array(
'timestamp' => date($this->_timestampFormat),
'message' => $message,
'priority' => $priority,
'priorityName' => $this->_priorities[$priority]
),
$this->_extras
);
}


to

protected function _packEvent($message, $priority)
{
$date = new DateTime("now", new DateTimeZone('America/New_York') );

return array_merge(array(
'timestamp' => $date->format($this->_timestampFormat),
'message' => $message,
'priority' => $priority,
'priorityName' => $this->_priorities[$priority]
),
$this->_extras
);
}

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Marchetta884

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme