Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log files don't rotate properly #188

Open
roysmith opened this issue Jul 28, 2021 · 0 comments
Open

Log files don't rotate properly #188

roysmith opened this issue Jul 28, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@roysmith
Copy link
Owner

The newest log file is named django.log.2021-07-26, which was two days ago, but it has todays timestamp, and log entries for today:

-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev     151 Mar  1 01:53 printstats.py
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev   10866 Jun  4 19:35 django-test.log.2021-06-04
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev   10866 Jun  7 14:46 django-test.log.2021-06-07
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev  211661 Jun 13 02:31 django-test.log.2021-06-13
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev     735 Jun 25 02:04 django-test.log.2021-06-25
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev  377111 Jun 29 17:45 django-test.log.2021-06-29
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev  235729 Jul  2 02:30 django-test.log.2021-07-02
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev  298081 Jul 12 22:40 django-test.log.2021-07-12
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev   22662 Jul 21 18:45 django.log.2021-07-19
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev  405706 Jul 22 16:42 django.log.2021-07-20
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev  128206 Jul 23 13:32 django.log.2021-07-21
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev   22822 Jul 23 13:49 django-test.log
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev 1445134 Jul 25 01:37 django.log.2021-07-23
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev 1128200 Jul 26 16:29 django.log.2021-07-24
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev    1887 Jul 27 23:44 django.log.2021-07-27
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev    4116 Jul 28 11:55 django.log
-rw-r--r-- 1 tools.spi-tools-dev tools.spi-tools-dev 1612858 Jul 28 11:56 django.log.2021-07-26
2021-07-27 23:43:51,227 [49a05318beff128983d15806aa076671] INFO tools_app.middleware: IndexView()
2021-07-28 00:00:09,788 [df3c6b81e7f944464956a54713fb57dd] INFO tools_app.middleware: TimecardView()
2021-07-28 11:55:54,202 [c06b2b4536df6373067feff376ed428c] INFO tools_app.middleware: SockSelectView()
2021-07-28 11:55:54,238 [c06b2b4536df6373067feff376ed428c] DEBUG spi.views.sock_select_view: post: valid

Is this just a buffering problem with a few old entries being stuck in the buffer at the changeover point?

@roysmith roysmith added the bug Something isn't working label Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant