Page MenuHomePhabricator

Update orphan rectifier log source from /srv/archive/frlog1001 to /srv/archive/frlog
Closed, ResolvedPublic

Description

I haven't managed to figure out where we configure the log source for the orphan rectifier. Wherever that is, it needs to be updated from /srv/archive/frlog1001 to /srv/archive/frlog. We're in the process of decommissioning frlog1001 so it's a good time to give this a generic directory name instead of a host-specific one.

Event Timeline

For future reference, this is managed in the UI at /admin/config/wmf_audit/configure

or via drush with drush @wmff vset wmf_audit_log_archive_dir /path/to/logs

This is updated. I notice there are only 45 days of payments logs in there now. I guess we should add some wmf_audit logic to stop looking for payments over 45 days old and move all audit files that are older than that out of the directory.

This is updated. I notice there are only 45 days of payments logs in there now. I guess we should add some wmf_audit logic to stop looking for payments over 45 days old and move all audit files that are older than that out of the directory.

@Ejegg that's because collection to the new source directory on the new logger server starts a few days ago. I backfilled July and early August from the old logger server trying to minimize disruption. Is there value in having older logs available there, or are they just processed once and ignored afterward?

Sometimes we get older donations in newer log files, and sometimes we keep trying to reprocess the same logs files for months.

The older donations should probably be maximum a month or so old, and we really should stop trying to reprocess the same files after a couple weeks.

XenoRyet set Final Story Points to 1.