MCPcopy Create free account
hub / github.com/apache/trafficserver / setup_log_objects

Method setup_log_objects

src/proxy/logging/LogConfig.cc:393–409  ·  view source on GitHub ↗

----------------------------------------------------------------------------- setup_log_objects Construct: All custom objects. Upon return from this function: - global_object_list has the aforementioned objects - global_filter_list has all custom filters

Source from the content-addressed store, hash-verified

391// - global_filter_list has all custom filters
392//
393void
394LogConfig::setup_log_objects()
395{
396 Dbg(dbg_ctl_log, "creating objects...");
397
398 filter_list.clear();
399
400 // Evaluate logging.yaml to construct the custom log objects.
401 evaluate_config();
402
403 // Open local pipes so readers can see them.
404 log_object_manager.open_local_pipes();
405
406 if (dbg_ctl_log.on()) {
407 log_object_manager.display();
408 }
409}
410
411/*-------------------------------------------------------------------------
412 LogConfig::reconfigure

Callers

nothing calls this directly

Calls 4

open_local_pipesMethod · 0.80
clearMethod · 0.45
onMethod · 0.45
displayMethod · 0.45

Tested by

no test coverage detected