Skip to content

Commit

Permalink
Merge pull request #7 from NYPL/timestamp-format
Browse files Browse the repository at this point in the history
Fix timestamp key in logging payload
  • Loading branch information
kfriedman authored Aug 17, 2017
2 parents 61c025c + dbd2f77 commit a6d2d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Formatter/NyplLogFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function format(array $record)

$record['levelCode'] = $this->translateLevelToInteger($record['level']);

$record['datetime'] = date('c');
$record['timestamp'] = date('c');

unset($record['level_name'], $record['channel']);

Expand Down

0 comments on commit a6d2d37

Please sign in to comment.