Skip to content

Releases: danielme85/laravel-log-to-db

v2.3.3

05 Jun 13:30
Compare
Choose a tag to compare

Fixed issue where adding an array with additional information to context was broken.

v2.3.2

07 May 02:47
Compare
Choose a tag to compare

Bug fixes:

  • Reverted how Exception traces are handled, previous release parsed to string then serialized to json format making it unnecessary difficult to unserialize.
  • Add additional Exception check on 'SaveLogEvent' queue job to avoid potential Exception->log->Exception loops if an error occurs in the queued job.

v2.3.1

04 May 19:28
Compare
Choose a tag to compare

Fix issues with Exceptions and log queue workers.
Exceptions are now parsed into arrays before model is created in the queue worker.

v2.3.0

04 May 03:39
Compare
Choose a tag to compare
  • Added better support for custom Eloquent Models for log events.
  • Standardized config variable names (they where slightly different depending on where they where changed).
  • Code cleanup and simplified config priority/overrides.

Please note that the config file has changed if you are using a published and customized version of config/logtodb.php. .env file and potential config values in config/logging.php would still be the same.

v2.2.0

16 Mar 15:10
Compare
Choose a tag to compare

Starting with v2.2.0, the datetime column will be saved as a string in the format given in 'datetime_format' in logtodb.php config file, or the LOG_DB_DATETIME_FORMAT value in your .env file.

v2.1.1

08 Feb 20:04
431d320
Compare
Choose a tag to compare

Added a helper command to cleanup logs after a given age or max number of records in new config values.
Improved the delete log logic and cleaned up some unnecessary code.

v2.1.0

09 Jan 21:07
cc2b3ae
Compare
Choose a tag to compare
  • Added correct spelling of helper functions: "removeOldestIfMoreThan" and "removeOlderThan".
  • Added function wrapper with wrong spelling: "removeOldestIfMoreThen" and "removeOlderThen" to avoid breaking changes.
  • Fixed db "cleanup" helper functions mentioned above not working as intended when using MongoDB.

v2.0.2

11 Oct 17:59
bd9da3a
Compare
Choose a tag to compare
  • Change code to be less strict with the dateTime object of log events.
    This update should make the latest release of this package work with Laravel 5.6+ and Laravel 6.*

v2.0.1

10 Oct 13:00
17632d9
Compare
Choose a tag to compare
  • Added support for Monolog style processors.
  • Removed introspection processors per default.

v2.0.0

12 Sep 14:15
Compare
Choose a tag to compare

Added support for Laravel 6