Port the adaptive logging library from the Amtote codebase into a standalone repo (C:\dev\adaptive-logger) with genericized package namespace (com.streamops.logging or similar).
The StreamOps Flink processor imports it as a Maven dependency.
Source code: C:\1st\1st\service\flink-apps\flink-common\src\main\java\com\stronachgroup\first\flink\logging
Design docs: C:\work\Amtote\from-thumbdrive\Amtote\Obsidian\Work\claude-artifacts\feature-TPP-2104-adaptive-logging-in-flink\adaptive-logging\
Key features to port:
- AdaptiveLoggerFactory + AdaptiveLoggerImpl (SLF4J wrapper)
- Ring buffer for debug context capture
- Error detection with configurable thresholds and auto-escalation
- Rate limiting (atMostEvery fluent API)
- Sampling (fixed-rate and count-based)
- Lazy evaluation (Supplier-based deferred arg evaluation)
- MDC context preservation
- Scheduled de-escalation
Genericization:
- New package namespace (drop com.stronachgroup.first)
- Remove any Amtote-specific references
- Flink MDC provider as optional/pluggable
- Standalone Maven artifact publishable to Maven Central
Port the adaptive logging library from the Amtote codebase into a standalone repo (C:\dev\adaptive-logger) with genericized package namespace (com.streamops.logging or similar).
The StreamOps Flink processor imports it as a Maven dependency.
Source code: C:\1st\1st\service\flink-apps\flink-common\src\main\java\com\stronachgroup\first\flink\logging
Design docs: C:\work\Amtote\from-thumbdrive\Amtote\Obsidian\Work\claude-artifacts\feature-TPP-2104-adaptive-logging-in-flink\adaptive-logging\
Key features to port:
Genericization: