mardi 22 novembre 2016

Laravel 5.1 Logger Timezone

Is there a way I can change the timezone for the Laravel 5.1 logger? I've seen previous discussions where they extended the Monolog class and updated the Service Provider, but that was for an older version of Laravel and it doesn't look like the LogServiceProvider is used anymore.

I see there's a timezone key in the app.php file, but I don't want the whole system to change. I just want to update the timezone for the logs, and keep the rest of the system in UTC.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire