<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">I do agree with you, and I do the same
on any system which has a battery-backed RTC and a persistent
network connexion (taking care also of timezone issues)...<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">However, I'm afraid that after a module
reboot it may take a few seconds to retrieve a correct time.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Also, when running without GPS, without
network and without modem (which seems a supported, even if
unusual, configuration), it seems that I'll never have a correct
time at all.<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">In both cases, the module will always
start with Unix epoch (1970-01-01-00:00:00) for at least a few
seconds, and so risk the risk to overwrite log files do exist (as
the log starts as soon as possible).<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Of course, I'm running in that
configuration (no modem, very often without Wifi, GPS not always
having time) otherwise it would not be fun... :-(</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">So that's why I wanted to be
independent of time.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">But it would not be complex to support
both syntaxes, to offer this choice.<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Ludovic<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Le 09/11/2022 à 22:57, Craig Leres a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:9337ee6b-a8b4-461d-bd11-54aa2b213217@xse.com">On 11/9/22
13:52, Ludovic LANGE wrote:
<br>
<blockquote type="cite">Naming would be 'automatic' with something
like :
<br>
`/sd/log/<vehicleid>/<#power on>/<log
prefix>/<#rotations>.<log extension>`
<br>
</blockquote>
<br>
When I auto-name log or trace files I like to use the date and
time. This format sorts nicely and makes it easy to find the file
that contains the date+time of interest. So I would
counter-propose:
<br>
<br>
YYYY-MM-DD-HH:MM:SS.<log extension>
<br>
<br>
Craig
<br>
</blockquote>
<p><br>
</p>
<div id="grammalecte_menu_main_button_shadow_host" style="width:
0px; height: 0px;"></div>
</body>
</html>