if (!proxy_config.is_yes("TIMELINE_CREATE"))
continue;
- cout << "running timeline for '" << value.first << "'." << endl;
+ cout << "Running timeline for '" << value.first << "'." << endl;
ProxySnapper* snapper = nullptr;
bool
cleanup(ProxySnappers* snappers)
{
+ const bool verbose = true;
+
bool ok = true;
map<string, ProxyConfig> configs = snappers->getConfigs();
if (!do_number && !do_timeline && !do_empty_pre_post)
continue;
- cout << "running cleanup for '" << value.first << "'." << endl;
+ cout << "Running cleanup for '" << value.first << "'." << endl;
ProxySnapper* snapper = nullptr;
if (do_number)
{
- cout << "running number cleanup for '" << value.first << "'." << endl;
+ cout << "Running number cleanup for '" << value.first << "'." << endl;
- if (!call_with_error_check([snapper](){ do_cleanup_number(snapper, false, report); }))
+ if (!call_with_error_check([snapper](){ do_cleanup_number(snapper, verbose, report); }))
{
cerr << "number cleanup for '" << value.first << "' failed." << endl;
ok = false;
if (do_timeline)
{
- cout << "running timeline cleanup for '" << value.first << "'." << endl;
+ cout << "Running timeline cleanup for '" << value.first << "'." << endl;
- if (!call_with_error_check([snapper](){ do_cleanup_timeline(snapper, false, report); }))
+ if (!call_with_error_check([snapper](){ do_cleanup_timeline(snapper, verbose, report); }))
{
cerr << "timeline cleanup for '" << value.first << "' failed." << endl;
ok = false;
if (do_empty_pre_post)
{
- cout << "running empty-pre-post cleanup for '" << value.first << "'." << endl;
+ cout << "Running empty-pre-post cleanup for '" << value.first << "'." << endl;
- if (!call_with_error_check([snapper](){ do_cleanup_empty_pre_post(snapper, false, report); }))
+ if (!call_with_error_check([snapper](){ do_cleanup_empty_pre_post(snapper, verbose, report); }))
{
cerr << "empty-pre-post cleanup for " << value.first << " failed." << endl;
ok = false;