Figure out a way to archive completed questions in the system.
For filenumber sets with (-d)one files indicating completion of a
recommendation, we can append them all to a log file that we rotate weekly,
with headers indicating their original filename and timestamp, in -q, -a,
-r, -e, -o, -t, -d order. (Priyanka is that the correct order?)
There is a new directory /logs for logging.
There are two types of log files:
- activity-yyyymmdd -- logs info such as token, ip, qnum, qtype, request method after every GET and POST request in /ask, /answer, /recommend
- results-yyyymmdd -- logs qnum, all associated qtypes with modtimes after POST on /recommend
commit is here