Skip to content

Commit 52ab210

Browse files
fix(api): silenzia warning Tika startup per log più puliti
1 parent 9406d17 commit 52ab210

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.
1212

1313
### Fixed
1414
- Silenced verbose httpx/httpcore logs that spammed 60+ lines per file upload
15+
- Silenced Tika startup warnings ("Failed to see startup log message; retrying...")
1516

1617
## [1.1.4] - 2025-12-02
1718

api/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
# Silence verbose HTTP client logs (httpx logs every single request)
2626
logging.getLogger("httpx").setLevel(logging.WARNING)
2727
logging.getLogger("httpcore").setLevel(logging.WARNING)
28+
# Silence Tika startup warnings ("Failed to see startup log message; retrying...")
29+
logging.getLogger("tika").setLevel(logging.ERROR)
2830

2931
logger = logging.getLogger(__name__)
3032

0 commit comments

Comments
 (0)