Skip to content

Commit

Permalink
Update LOGGER_DRIVER env var description (twentyhq#5968)
Browse files Browse the repository at this point in the history
Update the docs to accurately reflect `LoggerDriverType`. Using `sentry`
throws an error on startup.

```
export enum LoggerDriverType {
  Console = 'console',
}
```

Happy to change the wording of course.
  • Loading branch information
JarWarren authored Jun 21, 2024
1 parent 68e20c0 commit 51e3454
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ yarn command:prod cron:messaging:message-list-fetch
### Logging

<ArticleTable options={[
['LOGGER_DRIVER', 'console', "The logging driver can be: 'console' or 'sentry'"],
['LOGGER_DRIVER', 'console', "Currently, only supports 'console'"],
['LOGGER_IS_BUFFER_ENABLED', 'true', 'Buffer the logs before sending them to the logging driver'],
['LOG_LEVELS', 'error,warn', "The loglevels which are logged to the logging driver. Can include: 'log', 'warn', 'error'"],
['EXCEPTION_HANDLER_DRIVER', 'sentry', "The exception handler driver can be: 'console' or 'sentry'"],
Expand Down

0 comments on commit 51e3454

Please sign in to comment.