<div dir="auto"><div>Hello!<div dir="auto"><br></div><div dir="auto">We have seen issues like this in case of systemd, but I dont know if your embedded system runs systemd.</div><div dir="auto"><br></div><div dir="auto">Can you share your configuration, please?</div><div dir="auto">Are you using system() source?</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Gábor</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 4 Feb 2020, 08:33 Abhi Arora, <<a href="mailto:engr.abhiarora@gmail.com">engr.abhiarora@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<br>I have one embedded device running Linux which doesn't have RTC. So it loses date and time after every reboot.<div><br></div><div>uname -a returns:</div><div><br></div><div>Linux f1 4.9.175+g0746276 #1 SMP PREEMPT Tue Jan 14 03:09:19 UTC 2020 armv7l armv7l armv7l GNU/Linux</div><div><br></div><div>I have observed after every reboot, my board starts with some older time and my application running in user-space corrects the system time from a timestamp saved on a file (which is updated every hour). Application also connects with some server to get latest time. I have noticed that if system date and time is less than date and time which it had at last shutdown, then syslog doesn't get any logs from my applications till it has a time atleast greater than 

date and time which it had at last shutdown.<br><br>Please help me in debugging the issue and fixing it.<br><div><br></div><div><br></div></div></div>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer 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 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 noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div></div></div>