add feature, logsize and lognum for autorotation. see documentation.