Skip to content

Commit

Permalink
logging setup for debug documented
Browse files Browse the repository at this point in the history
  • Loading branch information
zinal committed Jul 28, 2024
1 parent c3bbfcf commit 4d9d565
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,18 @@ spark.table("ydb1.`ix/fhrw0/ix1`").show(10, False)
spark.table("ydb1.fhrw0").write.parquet("file:///tmp/ydb-fhrw0")

```

## Logging configuration

Extra lines in `log4j2.properties`:

```
logger.ydb0.name = tech.ydb.spark
logger.ydb0.level = debug
logger.ydb1.name = tech.ydb
logger.ydb1.level = debug
logger.ydb2.name = tech.ydb.core.impl.discovery
logger.ydb2.level = info
logger.ydb3.name = tech.ydb.shaded
logger.ydb3.level = warn
```

0 comments on commit 4d9d565

Please sign in to comment.