Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update logging.md #691

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
```

### Log Levels
If you need to change the Logging level , you can modify the rootLogger level in the `log4j2.xml` file.
If you need to change the Logging level , you can modify the rootLogger level in the [`log4j2.xml` ](https://github.com/Altinity/clickhouse-sink-connector/blob/develop/sink-connector-lightweight/docker/log4j2.xml) file.
By default its set to `info` level.

```xml
Expand All @@ -36,7 +36,7 @@ By default its set to `info` level.
```

## Changing Layout (Example JSON)
If you want to change the layout of the logs, you can modify the `log4j2.xml` file.
If you want to change the layout of the logs, you can modify the [`log4j2.xml` ](https://github.com/Altinity/clickhouse-sink-connector/blob/develop/sink-connector-lightweight/docker/log4j2.xml) file.
You can comment out the default `PatternLayout` and enable `JSONLayout`

```
Expand Down
Loading