Skip to content

Commit

Permalink
Uniform log path format (swoft-cloud/swoft-component#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
aprchen authored and huangzhhui committed Jun 9, 2018
1 parent dfedb1f commit 5fbef08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bootstrap/CoreBean.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ public function beans()
'lineFormatter' => [
'class' => LineFormatter::class,
'format' => '%datetime% [%level_name%] [%channel%] [logid:%logid%] [spanid:%spanid%] %messages%',
'dateFormat' => 'Y/m/d H:i:s',
'dateFormat' => 'Y-m-d H:i:s',
],
];
}
}
}

0 comments on commit 5fbef08

Please sign in to comment.