need a way to turn up and down verbosity in clean logs

Bug #793629 reported by danh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scribe2
New
Wishlist
danh

Bug Description

We do some tasks (such as deleting and moving around books, and collecting statistics) in a scribe upstart process invoking the clean_dirs.php script.

Sometimes there are error situations for which we would like to gather more data.

But we don't want to do this in general (makes logs too big and hard to read), and we also don't want to muck with code on running scribes unnecessarily.

So what we'd like to have is some way to temporarily crank up the reporting level, then dial it back down again when we've collected some data.

One way to do this might be to have a file like our restart --- if you touch the file
/home/scribe/.scriblio/clean_process/restart
then the process will halt when it is not in the middle of some other job, and restart.

So we could have a file with some name like
/home/scribe/.scriblio/clean_process/verbosity
containing some directive to increase the verbosity, and if that file existed and could
be read, then you'd crank up the verbosity at that point.

danh (danh-archive)
Changed in scribe2:
assignee: nobody → danh (danh-archive)
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.