Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve log file #1

Open
bkhrupa opened this issue Nov 13, 2018 · 0 comments
Open

Improve log file #1

bkhrupa opened this issue Nov 13, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@bkhrupa
Copy link
Contributor

bkhrupa commented Nov 13, 2018

For now in config available only one option for log file 'path' => storage_path('/logs/sql.log').
But Monolog supported a lot of nice handler options.

I suggested, add driver and days for log rotation

Example:

[
    'driver' => 'daily', // `single`, `daily`
    'path' => storage_path('logs/sql.log'),
    'days' => 7, // only for `daily`
]

Also update composer file.

  • Update license to MIT
  • Remove laravel/tinker
  • Add monolog/monolog

Do not forgot update Readme file.

Thanks!

@bkhrupa bkhrupa added the enhancement New feature or request label Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants