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

Question: Logging? #737

Closed
taivu opened this issue Sep 6, 2024 · 1 comment
Closed

Question: Logging? #737

taivu opened this issue Sep 6, 2024 · 1 comment

Comments

@taivu
Copy link

taivu commented Sep 6, 2024

Description

Is there a way to configure logging such that it shows up in the laravel.log file?

im trying to debug and see what is happening when scout sends data up to algolia and coming back down.

i cant find any relevant documentation that references how to configure it to enable logging.

thanks in advance

Client

Search

Version

^3.3

Relevant log output

No response

@c0nst4ntin
Copy link

Hey @taivu 👋🏼 

I'm not an expert on the package, but I believe this is not handled by the package. This is the general PHP Client for Algolia which is not directly compatible with any specific framework logging (whether that is Laravel or Symfony).

If you have built your own indexing logic using this package, you can simply implement the logging yourself.
Otherwise, maybe take a look if a package such as Laravel Scout offers events into which you could hook.

If this helped you or this is no longer a problem, please consider closing the issue.

@taivu taivu closed this as completed Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants