[ntp:hackers] Should be: Choosing a Logile Extension for NTP

TS Glassey tglassey at earthlink.net
Tue Sep 30 15:44:11 UTC 2008


What's wrong with creating a .NTP extension for the logs? We would link them
to Text or XML Types and poof - this issue goes away.

More inline

----- Original Message ----- 
From: "David J Taylor" <david-taylor at blueyonder.co.uk>
To: <hackers at ntp.org>
Cc: <hdell at epodworks.net>; "Jeff McDonald" <jmcdonald at jtime.us>
Sent: Tuesday, September 23, 2008 3:07 AM
Subject: Re: [ntp:hackers] [Fwd: Re: Quote for No Product selected! from
HalDell (hdell at epodworks.net)]


> Martin Burnicki wrote:
> []
>> So the basic question is whether we should simply use the .txt
>> extension (which is also my preferred solution), or use an individual
>> extension like .ntp_log or so.
>>
>> If we use the .txt extension then these files will automatically be
>> opend by the preferred text editor, e.g. notepad. Since the files are
>> indeed just another set of text files this should be fine.
>> Resulting filenames would look like e.g.: loopstats.20080923.txt
>>
>> If we use an extension like .ntp_log then we must register a default
>> application for these file types. Of course this can simply be done by
>> the installer. However, what is the benefit of using an individual
>> application?

This will violate the dot-three standard that file-extensions are 
constrained by.

>>
>> There would be a benefit if we had an individual application which
>> could be started to read and display those log files. However, I'm
>> not aware of any. In most cases you just want to have a quick look
>> using a text editor.
>>
>> BTW, should the new extension also be appended to the current log
>> files, e.g. loopstats.txt or loopstats.ntp_log rather than just
>> loopstats?
> []
>> Martin
>
> Martin,
>
> Do whatever makes it simpler for the user - .txt rather than .ntp_log
> would probably be best for the end users.  Make it so for the current log
> files as well.
>
> Your own NTP Monitor is perhaps, for Windows users, closest to the
> individual application they might use to view the data.
>
> Cheers,
> David
> -- 
> SatSignal software - quality software written to your requirements
> Web:  http://www.satsignal.eu
> Email:  davidtaylor at writeme.com
>
>
> _______________________________________________
> hackers mailing list
> hackers at lists.ntp.org
> https://lists.ntp.org/mailman/listinfo/hackers


--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.169 / Virus Database: 270.7.0/1685 - Release Date: 9/22/2008
4:08 PM



More information about the hackers mailing list