Skip to content

Commit e24b7d9

Browse files
committed
review feedback
1 parent b9fb5c7 commit e24b7d9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/docs/configuration/environment-variables.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The following environment variables allow you to configure your Sourcebot deploy
2727
| `SMTP_CONNECTION_URL` | `-` | <p>The url to the SMTP service used for sending transactional emails. See [this doc](/docs/configuration/transactional-emails) for more info.</p> |
2828
| `SOURCEBOT_ENCRYPTION_KEY` | Automatically generated at startup if no value is provided. Generated using `openssl rand -base64 24` | <p>Used to encrypt connection secrets and generate API keys.</p> |
2929
| `SOURCEBOT_LOG_LEVEL` | `info` | <p>The Sourcebot logging level. Valid values are `debug`, `info`, `warn`, `error`, in order of severity.</p> |
30-
| `SOURCEBOT_STRUCTURED_LOGGING_ENABLED` | `false` | <p>Enables/disable structured JSON logging. See [this doc](/docs/configuration/transactional-emails) for more info.</p> |
30+
| `SOURCEBOT_STRUCTURED_LOGGING_ENABLED` | `false` | <p>Enables/disable structured JSON logging. See [this doc](/docs/configuration/structured-logging) for more info.</p> |
3131
| `SOURCEBOT_STRUCTURED_LOGGING_FILE` | - | <p>Optional file to log to if structured logging is enabled</p> |
3232
| `SOURCEBOT_TELEMETRY_DISABLED` | `false` | <p>Enables/disables telemetry collection in Sourcebot. See [this doc](/docs/overview.mdx#telemetry) for more info.</p> |
3333
| `TOTAL_MAX_MATCH_COUNT` | `100000` | <p>The maximum number of matches per query</p> |

docs/docs/connections/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ A JSON configuration file is used to specify connections. For example:
4343

4444
Configuration files must conform to the [JSON schema](#schema-reference).
4545

46-
When running Sourcebot, this file must be mounted in a volume that is accessible to the container, with it's path specified in the `CONFIG_PATH` environment variable. For example:
46+
When running Sourcebot, this file must be mounted in a volume that is accessible to the container, with its path specified in the `CONFIG_PATH` environment variable. For example:
4747

4848
```bash
4949
docker run \

packages/logger/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ const { combine, colorize, timestamp, prettyPrint, errors, printf, label: labelF
2121
const datadogFormat = format((info) => {
2222
info.status = info.level.toLowerCase();
2323
info.service = info.label;
24-
delete info.label;
24+
info.label = undefined;
2525

2626
const msg = info[MESSAGE as unknown as string] as string | undefined;
2727
if (msg) {
2828
info.message = msg;
29-
delete info[MESSAGE as unknown as string];
29+
info[MESSAGE as unknown as string] = undefined;
3030
}
3131

3232
return info;

0 commit comments

Comments
 (0)