Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.01 KB

collaborative-logger.md

File metadata and controls

28 lines (21 loc) · 1.01 KB
slug sidebar_position
/collaborative-logger
12

Collaborative Logger

The collaborative logger helps to improve the Leon's understanding. For each query you will submit to Leon, if the collaborative logger is enabled, it sends an HTTP request to an external Leon's server.

Here are the data that Leon store:

  • His version number.
  • Query (string).
  • Language.
  • Package that Leon picked up.
  • Module that Leon picked up.
  • Action that Leon picked up.
  • His confidence about his understanding.
  • Current timestamp.

The collaborative logger is enabled by default. If you wish to disable it, simply set the environment variable LEON_LOGGER in your .env file to FALSE and rerun the server.

:::tip Tip If you wish to dig into the code, you can find the: