rotate_custom_logs plugin method