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

Method open_local_pipes

src/proxy/logging/LogObject.cc:1212–1224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1210}
1211
1212void
1213LogObjectManager::open_local_pipes()
1214{
1215 // for all local objects that write to a pipe, call open_file to force
1216 // the creation of the pipe so that any potential reader can see it
1217 //
1218 for (unsigned i = 0; i < this->_objects.size(); i++) {
1219 LogObject *obj = _objects[i];
1220 if (obj->writes_to_pipe()) {
1221 obj->m_logFile->open_file();
1222 }
1223 }
1224}
1225
1226void
1227LogObjectManager::transfer_objects(LogObjectManager &old_mgr)

Callers 1

setup_log_objectsMethod · 0.80

Calls 3

writes_to_pipeMethod · 0.80
sizeMethod · 0.45
open_fileMethod · 0.45

Tested by

no test coverage detected