Add logger filter to drop repetitive 'Cannot find module' errors from net-snmp library. These errors occur when snmptranslate can't find vendor-specific MIB modules but don't affect functionality since the system falls back to numeric OIDs. The errors were flooding production logs (hundreds of identical messages) during polling of Morningstar devices that reference TRISTAR MIB modules. Changes: - Add drop_snmp_mib_errors/2 filter to LoggerFilters module - Register filter in production logger configuration - Filter matches exact error format from snmptranslate stderr The root cause (missing NIF binary) will be addressed separately by compiling the towerops_nif.so during Docker build. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| config.exs | ||
| dev.exs | ||
| prod.exs | ||
| runtime.exs | ||
| test.exs | ||