-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
The current Log class is intended to allow swapping out logger back-ends, but SLF4J already does this. It also doesn't expose as nice of an API as SLF4J, which can handle formatting to avoid the cost of building log messages that won't be used. I think we should deprecate the org.apache.parquet.Log class and move to using SLF4J directly, instead of wrapping SLF4J (PARQUET-305).
This will require deprecating the current Log class and replacing the current uses of it with SLF4J.
Related issues:
- Fix flush() for RecordConsumer and implementations (is blocked by)
- Avoid evoking job.toString() in ParquetLoader (is blocked by)
- Shading SLF4J prevents SLF4J locating org.slf4j.impl.StaticLoggerBinder (is related to)
- Logger instantiated for package org.apache.parquet may be GC-ed (is related to)
- Shutdown hook in parquet-avro library corrupts data and disables logging (is required by)
Note: This issue was originally created as PARQUET-401. Please see the migration documentation for further details.