Changes between Initial Version and Version 4 of Ticket #49


Ignore:
Timestamp:
May 25, 2012, 12:55:13 PM (12 years ago)
Author:
ezyang
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49

    • Property Priority changed from major to critical
    • Property Owner set to geofft
    • Property Type changed from defect to enhancement
  • Ticket #49 – Description

    initial v4  
    1010mod_rewrite errors, which are common causes of pulled-out user hair,
    1111happen before suexec time, so ideally we'd do something earlier.
     12
     13----
     14
     15Here is a proposal, which I may have the good properties we want.
     16
     171. Apache based errors continue to go to /home/logview/error_log.
     182. Errors from suexec'd binaries now have their errors go to per-user files. This is arranged for by suexec, which replaces the stderr fd with an fd to a file it opened.
     193. error_log now is watched by a zephyr daemon, which has the following behavior. By default, it ignores all entries in the log. However, it is subscribed to -c scripts-logs; when it receives an authenticated zephyr from a user requesting logs for a locker, it checks if the user is admof locker. If so, it sets up a new rule, which sends class'd personals (name?) to that user of error logs corresponding to that locker. We remove rules when the zephyr notifies us no one is listening to our zephyrs.
     204. We setup a custom BarnOwl, so users can run 'athrun scripts logview locker', and they get a BarnOwl which sends the control zephyr and subscribes to the relevant class to view errors for the class. It might even be nifty if we have some commands for subscribing to more errors, though not strictly necessary.
     215. Setup similar daemons for the per-user stderr logs.