Author Topic: Archives of logs/stats/graphs now web-accessible  (Read 12498 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 07:57:36 am
Archives of logs/stats/graphs now web-accessible
« on: January 13, 2023, 04:22:50 pm »
As part of the revamping of the site update and datacheck scripts, I'm making archives of TM logs and other files available on the public part of the TM website.  It's not pretty at all for now, and probably isn't worth the effort to make it so, but you can browse around to find what you're looking for like it's a mid 1990s web server without an index file:

https://travelmapping.net/updates

Click on any timestamp there and then you can click through to logs and other things from site updates in days gone by.  Of particular interest to many might be to go into logs/users and see your old travel logs.  In the monthly_snapshots directory there are some monthly archives I've been keeping on the first of (almost) every month for a few years.

Site updates going forward will automatically end up in the updates directory.  I'll periodically move appropriate ones into the monthly_snapshots directory and remove others that are more than a few months old.

Before anyone asks, I don't think it's currently feasible to keep archives of all data in a live DB server that would allow browsing back through earlier stats and maps using the web front end.  Maybe some day.

Note: the content in each archive directory (before today) is actually from the site update one prior to the update started at the listed time.  So while it looks like data as of the first day of each month in the snapshots, it's really usually from the last day of the previous month.  For updates run going forward, the timestamps will be that of the actual update.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:Today at 01:57:14 am
  • I like C++
Re: Archives of logs/stats/graphs now web-accessible
« Reply #1 on: January 13, 2023, 06:07:03 pm »
Any plans to fix the date issue? That could be automated pretty easily with a shell script.
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 07:57:36 am
Re: Archives of logs/stats/graphs now web-accessible
« Reply #2 on: January 13, 2023, 07:05:54 pm »
Any plans to fix the date issue? That could be automated pretty easily with a shell script.

Wasn't planning on it.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4863
  • Last Login:Yesterday at 01:15:00 pm
Re: Archives of logs/stats/graphs now web-accessible
« Reply #3 on: January 14, 2023, 12:37:03 pm »
Should we add the link to the site? I don't know where a good place would be.

The Developer Logs page is likely a bad place.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 07:57:36 am
Re: Archives of logs/stats/graphs now web-accessible
« Reply #4 on: January 14, 2023, 04:06:20 pm »
I do want a link, but also not sure where it fits best.  I am open to suggestions.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4863
  • Last Login:Yesterday at 01:15:00 pm
Re: Archives of logs/stats/graphs now web-accessible
« Reply #5 on: January 15, 2023, 03:19:05 am »
I do want a link, but also not sure where it fits best.  I am open to suggestions.

Simply link from "Raw Stats" in the footer since it is not more than raw stats? It is not a prominent place but on (almost) all pages.
What we currently link is also found under the new link. Do we need it twice on the site at all?

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 07:57:36 am
Re: Archives of logs/stats/graphs now web-accessible
« Reply #6 on: January 15, 2023, 08:57:54 am »
I do want a link, but also not sure where it fits best.  I am open to suggestions.

Simply link from "Raw Stats" in the footer since it is not more than raw stats? It is not a prominent place but on (almost) all pages.
What we currently link is also found under the new link. Do we need it twice on the site at all?

Since that link doesn't go to HTML either, but I like that idea, I've added a new entry to the footer links.  Easy enough to change if anyone has ideas for something better.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:Today at 01:57:14 am
  • I like C++
Re: Archives of logs/stats/graphs now web-accessible
« Reply #7 on: January 21, 2023, 10:15:51 pm »
We have the archives for 2022-11 and 2023-01 available, but no 2022-12.
It's in /home/tmp/tm, but not /home/www/tm/updates.
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Today at 07:57:36 am
Re: Archives of logs/stats/graphs now web-accessible
« Reply #8 on: January 22, 2023, 09:22:46 am »
We have the archives for 2022-11 and 2023-01 available, but no 2022-12.
It's in /home/tmp/tm, but not /home/www/tm/updates.

Not sure why I didn't move those earlier, but I have done so now.