Page MenuHomePhabricator

server admin log should include year in date (again)
Closed, ResolvedPublic

Description

The server admin log (SAL) should include the year in the date. This was once done in 2012, see e.g. https://wikitech.wikimedia.org/wiki/Nova_Resource:Wikidata-dev/SAL .

Event Timeline

JanZerebecki raised the priority of this task from to Needs Triage.
JanZerebecki updated the task description. (Show Details)
JanZerebecki subscribed.
chasemp edited projects, added acl*sre-team; removed ops-requests.

Currently, the log goes == Month 01 ==.

Would the year go after or before? As in: == Month 01 2015 == or == 2015 Month 01 ==?

I hate the entire date format, as I like YYYY-MM-DD, (reference: https://xkcd.com/1179/ ).

That being said, the old use had July 19th 2012.

I suppose it should put in the trailing 19th, 23rd, etc... to match what was initially done; unless that bit of code is unusually tricky.

So the old use was: July 19th 2012

For the proposed two options: == Month 01 2015 == matches the old use the closest.

Change 223046 had a related patch set uploaded (by Elee):
added year into logging

https://gerrit.wikimedia.org/r/223046

Sorry for the delay, everything should be happy now.

Change 223046 merged by Dzahn:
added year into logging, made pep8 and pyflakes happy

https://gerrit.wikimedia.org/r/223046

Change 223575 had a related patch set uploaded (by Dzahn):
up version to 1.7.7 - add year to logs

https://gerrit.wikimedia.org/r/223575

Change 223575 merged by jenkins-bot:
up version to 1.7.7 - add year to logs

https://gerrit.wikimedia.org/r/223575

As seen in the backtrace https://phabricator.wikimedia.org/T105169#1444010 this needs to also work with the old log entries that have less than 5 space separated parts in headings.

@Elee: Any news here? Are you still working on this (as you're set as assignee)?

@Elee: Any news here? Are you still working on this (as you're set as assignee)?

@Elee: Any news here? Are you still working on this (as you're set as assignee)?

Aklapper removed a project: Patch-For-Review.

@Elee: I am resetting the assignee of this task because there have been no signs of progress lately (please correct me if I'm wrong).
Resetting the assignee avoids the impression that somebody is already working on fixing this task and it also allows anybody else to potentially work towards fixing this task.
Please claim this task again when you plan to fix this task (via 'Assign / Claim' in the 'Actions' dropdown menu) - it would be very welcome!
Thanks for your understanding!

valhallasw claimed this task.
valhallasw subscribed.

The SAL has been using YYYY-MM-DD for a while now, so I think we can consider this resolved/.