New table Log::rotation_control that enables to control rotation

for individual files, overriding defaults.

The interface isn't the greatest but the best I can come up with right
now.
This commit is contained in:
Robin Sommer 2011-03-08 16:30:53 -08:00
parent eb736a34b3
commit df54cc6e78
5 changed files with 92 additions and 35 deletions

View file

@ -99,6 +99,7 @@ private:
void RemoveDisabledWriters(Stream* stream);
void InstallRotationTimer(WriterInfo* winfo);
void Rotate(WriterInfo* info);
RecordVal* LookupRotationControl(EnumVal* writer, string path);
vector<Stream *> streams; // Indexed by stream enum.
};