aungwinthant / apilogger

Small laravel package for viewing api logs which can be used in debugging.
MIT License
346 stars 61 forks source link

Cant install and use this package #21

Open wrtisans opened 4 years ago

wrtisans commented 4 years ago

when i install this package i got this error

In ApiLogServiceProvider.php line 53:

  Unsupported Driver

any idea how to fix this?

aungwinthant commented 4 years ago

Have you publish the config file with php artisan vendor:publish --tag=config?

wrtisans commented 4 years ago

yes, i've done that.. but still not working

mikeerickson commented 4 years ago

@wrtisans can you please provide some reproducible steps and I will debug against that locally.

Also, if you don’t mind, try creating a fresh laravel app and see what happens. I am curious if it is something specific to your app, or a global issue.

I have tested in a number of personal apps and not seeing this issue, so a little more info would be helpful

Thanks in advance

wrtisans commented 4 years ago

i just installed a fresh laravel application and it shows that error, sorry about my late repply

mikeerickson commented 4 years ago

@wrtisans would you please give me a little information about your setup

  1. Operating system and version
  2. Laravel version
wrtisans commented 4 years ago

i've Mac os Catalina (10.15) , laravel 6.1

mikeerickson commented 4 years ago

Ok, I will see what I can reproduce. Do you have laravel installer, or any other laravel CLI tools? Just curious,l

wrtisans commented 4 years ago

i've used laravel installer to create this app

mikeerickson commented 4 years ago

Ok, I will try and reproduce tomorrow

rsportella commented 4 years ago

Estou tendo o mesmo problema, encontraram alguma solução?

mikeerickson commented 4 years ago

My apologies, I failed to follow up on this issue. I will have a look ASAP.

JohnRoux commented 4 years ago

I know this is a while back, but @wrtisans do you know what the contents of your config/apilog.php file looked like? I made the mistake of using "database" as the driver as opposed to "db" and it gave the same error.

If your config is being read, and the value is either "db" or "file" then it should work perfectly. You could try doing a php artisan config:clear to clear any config cache