Skip to main content

flush_dropped_plugin_warnings

Function flush_dropped_plugin_warnings 

Source
pub(crate) fn flush_dropped_plugin_warnings()
Expand description

Emits the plugin options that were dropped during config loading (because they were not recognized by the current build) as warnings.

Config loading runs before the global tracing subscriber is installed, so the warnings are buffered and must be flushed once logging is initialized. Each server’s build method calls this right after initializing logging.