<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Yes, the date/time format is now exactly the same as in
spool/mail.log.<br>
I can do that and put the two modifications in single email later
today.<br>
<br>
73,<br>
<br>
Bob VE3TOK<br>
<br>
<br>
<div class="moz-cite-prefix">On 14-09-30 05:00 AM, Michael E Fox -
N6MEF wrote:<br>
</div>
<blockquote cite="mid:175801cfdc8c$fa3149a0$ee93dce0$@mefox.org"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Bob,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Is
the date/time format the same as used in spool/mail.log? <o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">It
would make comparing both files easier if the formats are
the same.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Would
you be willing to write up this combination (change to
single log file name, plus change of timestamp format) in
whatever format Maiko could use to add a #define option in
config.h?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
guess current behavior to be added to config.h would be
something like<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">#define
DAILY_JNOS_LOG -or-<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">#undef
SINGLE_JNOS_LOG<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’ll
bet a bunch of folks would flip that switch if it were
available.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Michael<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">N6MEF<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in
0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:windowtext">
<a class="moz-txt-link-abbreviated" href="mailto:nos-bbs-bounces@tapr.org">nos-bbs-bounces@tapr.org</a>
[<a class="moz-txt-link-freetext" href="mailto:nos-bbs-bounces@tapr.org">mailto:nos-bbs-bounces@tapr.org</a>] <b>On Behalf Of </b>Boudewijn
(Bob) Tenty<br>
<b>Sent:</b> Tuesday, September 30, 2014 1:33 AM<br>
<b>To:</b> TAPR xNOS Mailing List<br>
<b>Subject:</b> Re: [nos-bbs] Changing JNOS log file
name<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">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>
<o:p></o:p></p>
<div>
<p class="MsoNormal">On 14-09-29 12:05 PM, Wm Lewis wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Thanks, Bob.<br>
<br>
That seems to have done the trick.<br>
<br>
Bill<br>
KG6BAJ<br>
<o:p></o:p></p>
<div>
<div class="MsoNormal" style="text-align:center"
align="center">
<hr id="stopSpelling" size="2" width="100%"
align="center"></div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Date:
Sun, 28 Sep 2014 05:45:39 -0400<br>
From: <a moz-do-not-send="true"
href="mailto:bobtenty@gmail.com">bobtenty@gmail.com</a><br>
To: <a moz-do-not-send="true"
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>
<o:p></o:p></p>
</div>
</div>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
nos-bbs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a>
<a class="moz-txt-link-freetext" href="http://www.tapr.org/mailman/listinfo/nos-bbs">http://www.tapr.org/mailman/listinfo/nos-bbs</a>
</pre>
</blockquote>
<br>
</body>
</html>