Skip to content

Commit

Permalink
Merge pull request Shardj#4 from gfaza/DTPORTAL-16910-support_for_fra…
Browse files Browse the repository at this point in the history
…ctional_seconds_in_log_timestamps

DTPORTAL-16910 support for fractional seconds in log timestamps
  • Loading branch information
mattcar authored Dec 4, 2019
2 parents 2255793 + dc2825d commit 273fe1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ protected function getClassName($config, $type, $defaultNamespace)
protected function _packEvent($message, $priority)
{
return array_merge(array(
'timestamp' => date($this->_timestampFormat),
'timestamp' => date_format(new DateTime(), $this->_timestampFormat),
'message' => $message,
'priority' => $priority,
'priorityName' => $this->_priorities[$priority]
Expand Down

0 comments on commit 273fe1c

Please sign in to comment.