Ignore:
Timestamp:
Aug 5, 2017, 11:21:53 PM (7 years ago)
Author:
Jason Gross <jasongross9@gmail.com>
Branches:
master
Children:
253f37f
Parents:
565a43c
git-author:
Jason Gross <jgross@mit.edu> (08/05/17 22:06:52)
git-committer:
Jason Gross <jasongross9@gmail.com> (08/05/17 23:21:53)
Message:
Better UI for :flush-logs and flush-logs-interval

We now only print the message about how many logs there are to flush
when -q is not passed to :flush-logs.  The timer from
flush-logs-interval passes -q, so the user won't see "There are no logs
to flush." ever few minutes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/DeferredLogging.pm

    r9d6e37c r4511ac3  
    5050                            name     => 'flush-logs interval timer',
    5151                            interval => 60 * $flush_logs_interval,
    52                             cb       => sub { BarnOwl::command("flush-logs"); }
     52                            cb       => sub { BarnOwl::command("flush-logs", "-q"); }
    5353                        });
    5454                }
Note: See TracChangeset for help on using the changeset viewer.