<div dir="ltr">We aren't getting the logs if the system date and time is older (in the past). We need to fix it and debug the root-cause so that irrespective of the system date and time, logs should get properly logged.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 18, 2020 at 3:53 PM Ruben Safir <<a href="mailto:ruben@mrbrklyn.com">ruben@mrbrklyn.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2/18/20 3:22 AM, Abhi Arora wrote:<br>
> Hi,<br>
> I have one embedded device running Linux which doesn't have RTC. So it<br>
> loses date and time after every halt.<br>
> <br>
> *uname -a:*<br>
> *Linux f1 4.9.175+g0746276 #1 SMP PREEMPT Tue Jan 14 03:09:19 UTC 2020<br>
> armv7l armv7l armv7l GNU/Linux*<br>
> <br>
> I have observed after every reboot, my board starts with some older time<br>
> and my application running in user-space corrects the system time from a<br>
> timestamp saved on a file (which is updated every hour). Application also<br>
> connects with some server to get latest time. I have noticed that if system<br>
> date and time is less than date and time which it had at last shutdown,<br>
> then syslog doesn't get any logs from my applications till it has a time<br>
> atleast greater thanĀ  date and time which it had at last shutdown.<br>
<br>
<br>
so what is the problem?<br>
<br>
<br>
-- <br>
So many immigrant groups have swept through our town<br>
that Brooklyn, like Atlantis, reaches mythological<br>
proportions in the mind of the world - RI Safir 1998<br>
<a href="http://www.mrbrklyn.com" rel="noreferrer" target="_blank">http://www.mrbrklyn.com</a><br>
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002<br>
<br>
<a href="http://www.nylxs.com" rel="noreferrer" target="_blank">http://www.nylxs.com</a> - Leadership Development in Free Software<br>
<a href="http://www.brooklyn-living.com" rel="noreferrer" target="_blank">http://www.brooklyn-living.com</a><br>
<br>
Being so tracked is for FARM ANIMALS and extermination camps,<br>
but incompatible with living as a free human being. -RI Safir 2013<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div>