Page 1 of 1

[month][year]log.txt formats?

Posted: Fri 10 Feb 2012 7:17 pm
by misteng
Hello all,
I imagine that someone has asked this before, but I have searched the forum to no avail.
Our system updates at 1 minute intervals. It has been requested to make this 1minute data available on the web.
I created a php script to read the monthyearlog.txt (or as a .csv). But when trying to discern what the header row would be, I am coming up at a loss.
Does anybody have a reference for this?
Once I am done with the code I will gladly post my solution...it should be pretty slick.
I have a bat file which copies up the current month file (based on system date and year). Once the file is in the web directory I have a page which will parse and display the data in an iframe from a drop down menu.

All I am missing so far is the field names for the header.
Thank you in advance!
M

Re: [month][year]log.txt formats?

Posted: Sat 11 Feb 2012 11:18 am
by steve
As referenced in the FAQ (http://wiki.sandaysoft.com/a/FAQ#What_a ... a_files.3F), the log file formats are in the help under 'Data log file format', and also in the wiki here: http://wiki.sandaysoft.com/a/Category:Log_Files. There's also a file in the Cumulus installation folder called 'monthlyfileheader.txt' which is a header for the monthly log files with the titles separated by '|' characters.