-
-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Description
Hello! I would like to have a feature where the scraper outputs less verbose thing. According to https://typesense.org/docs/guide/docsearch.html#run-the-scraper:
If needed, you can send the output to both stdout and a file at the same time by adding | tee scraper-output.txt to the end of the command. This is helpful because the output can be very verbose.
While using the same approach I can also make it output to a text, using, say, > output.txt
, it will also silence the error (if any). Would it be possible that we can have a LOG_LEVEL
or something as environment variable when running the Docker scraper?
Steps to reproduce
- Just run the scraper, the output is very verbose, as documented in docs
Expected Behavior
We have something like LOG_LEVEL
that allows us to filter logs, so that in CI we can get only, say, error logs and not the "debug" logs.
Actual Behavior
We can't (?) configure log levels, which causes the logs to be rather overwhelming
Metadata
Typesense Version: (not related to Typesense version)
OS: (not related to OS version)