Experimental logs mode #723
irevoire
started this conversation in
Experimental features
Replies: 1 comment
-
Update: v1.7 has been released 🐇 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Meilisearch v1.7.0 (released on March 11, 2024) introduces a new cli flag to output logs as json.
Experimental feature
Enabling the experimental feature will give you the possibility to output logs as json, which should help in case you're sending your logs to a log storage solution like quickwit, loki, elastic search, etc, ...
Usage
Two modes are supported right now:
human
: Output logs in a human-readable format:2024-02-13T17:28:11.427631Z INFO actix_server::builder: starting 10 workers
for examplejson
: Output logs in json:{"timestamp":"2024-02-14T10:33:22.439880Z","level":"INFO","fields":{"message":"starting 10 workers"},"target":"actix_server::builder"}
./meilisearch --experimental-logs-mode human # OR ./meilisearch --experimental-logs-mode json
A few notes on the feature:
Beta Was this translation helpful? Give feedback.
All reactions