<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<link href="chrome://translator/skin/floatingPanel.css"
type="text/css" rel="stylesheet">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Your welcome.<br>
<br>
The log only contains a time stamp what is a little bit nasty
because you have no point of reference<br>
anymore in the log name or file creation date so I fixed that by
adding Day, Month and Year to the time stamp.<br>
<br>
Look in main.c for the line..<br>
<br>
fprintf (fp, "%9.9s", cp + 11); <br>
<br>
This is around line 1112 in function nos_log(), 5 lines below the
earlier modification and I modified it to...<br>
<br>
fprintf (fp, "%.24s", cp); /* 30Sep2014, Boudewijn
VE3TOK, added Day Month Year to time stamp */<br>
<br>
Recompile and a full date stamp will be added to each entry in
nos.log<br>
<br>
73,<br>
<br>
Bob VE3TOK<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 14-09-29 12:05 PM, Wm Lewis wrote:<br>
</div>
<blockquote cite="mid:BLU170-W30EBBAB7600BE3F540D0E9A9BA0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Thanks, Bob.<br>
<br>
That seems to have done the trick.<br>
<br>
Bill<br>
KG6BAJ<br>
<br>
<div>
<hr id="stopSpelling">
Date: Sun, 28 Sep 2014 05:45:39 -0400<br>
From: <a class="moz-txt-link-abbreviated" href="mailto:bobtenty@gmail.com">bobtenty@gmail.com</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a><br>
Subject: Re: [nos-bbs] Changing JNOS log file name<br>
<br>
<br>
Yes that is possible, I changed the name to "nos.log"<br>
<br>
Open main.c of the source with an editor and look for the
line....<br>
<br>
sprintf (ML, "%s/%2.2s%3.3s%2.2s", LogsDir, cp + 8, cp + 4, cp
+ 22);<br>
<br>
- Around line 1101 in function nos_log() -<br>
<br>
I changed it to:<br>
<br>
<br>
/* sprintf (ML, "%s/%2.2s%3.3s%2.2s", LogsDir, cp + 8, cp
+ 4, cp + 22); */<br>
<br>
sprintf(ML, "%s/%s", LogsDir, "nos.log"); /*
28Sep2014, Boudewijn(Bob) VE3TOK, changed log name to nos.log
*/<br>
<br>
<br>
Recompile!<br>
<br>
73,<br>
<br>
Bob VE3TOK<br>
<br>
<br>
</div>
</div>
</blockquote>
<br>
<div style="bottom: auto; left: 45px; right: auto; top: 585px;
display: none;" class="translator-theme-default"
id="translator-floating-panel">
<div title="Click to translate"
id="translator-floating-panel-button"></div>
</div>
</body>
</html>