TSTEXTLOGOBJECTCREATE(3ts) | Apache Traffic Server | TSTEXTLOGOBJECTCREATE(3ts) |
TSTextLogObjectCreate - traffic Server text logging API
#include <ts/ts.h>
TSTextLogObjectRollingEnabledSet() sets the log rolling mode for the given object. This API must be used once the object is created and before writing into logs. The rolling_enabled argument must be a valid proxy.config.log.rolling_enabled values. If TSTextLogObjectRollingEnabledSet() is never called, the log object takes it's log rolling mode from the global proxy.config.log.rolling_enabled setting.
It's also important to call TSTextLogObjectRollingEnabledSet() before any of the other APIs that modifies the rolling object. This is due to the fact that this API dictates which rolling mode should be used, and therefore affects further modifications of the logging object.
2022, dev@trafficserver.apache.org
May 21, 2022 | 8.0 |