need a way to turn up and down verbosity in clean logs
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/
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/
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.
Changed in scribe2: | |
assignee: | nobody → danh (danh-archive) |
importance: | Undecided → Wishlist |