Today loglist wasn't started, and its logs are completely empty:
$ sudo journalctl -u loglist
-- No entries --
At the same time, cor-site logs are okay from 2016-12-12:
$ sudo journalctl -u cor-site
-- Logs begin at Mon 2016-12-12 16:35:01 EST, end at Thu 2016-12-15 05:25:22 EST. --
Dec 12 17:17:48 xmpp1 dotnet[8164]: info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Dec 12 17:17:48 xmpp1 dotnet[8164]: Request starting HTTP/1.1 GET http://codingteam.org.ru/robots.txt
...
After I restart loglist, the logs are okay, too:
$ sudo rm /opt/loglist/RUNNING_PID
$ sudo systemctl restart loglist
$ sudo journalctl -u loglist
-- Logs begin at Mon 2016-12-12 16:35:01 EST, end at Thu 2016-12-15 05:25:38 EST. --
Dec 15 05:20:35 xmpp1 systemd[1]: Stopped loglist.net site.
Dec 15 05:20:35 xmpp1 systemd[1]: Started loglist.net site.
Dec 15 05:20:36 xmpp1 loglist-jvm[16122]: Play server process ID is 16122
Dec 15 05:20:39 xmpp1 loglist-jvm[16122]: [info] play - database [default] connected at jdbc:postgresql:loglist?user=loglist&password=xxxx
Dec 15 05:20:40 xmpp1 loglist-jvm[16122]: [info] play - Application started (Prod)
Dec 15 05:20:40 xmpp1 loglist-jvm[16122]: [info] play - Listening for HTTP on /127.0.0.1:9000
So my conslusion is that we have two problems here:
- LogList does stop sometimes, and we don't know the reason.
- LogList logs are being cleaned or deleted by some unknown entity (or they are configured wrong).
Today loglist wasn't started, and its logs are completely empty:
At the same time,
cor-sitelogs are okay from2016-12-12:After I restart loglist, the logs are okay, too:
So my conslusion is that we have two problems here: