Page 1 of 1

Build 3221 Custom daily logs doesn't work

Posted: Wed 11 Jan 2023 3:12 pm
by LSchenk
Hello, yesterday i tried to get custom logs work. Monthly file is working properly.
Dayfile named "MyLog" was enabled at ~ 10 pm and nothing came. At exact midnight a first file was written, but with a strange timestamp:
10.01.23;4,1;90;8,4;24;164;2,0;1015,7;19,4;50;0,0;0;0,8;4,2;4,1;4,2;37,0;91;87;0;0


No time is seen and since then, the file wasn't updatet until now.
My settings in pic below.

May someone have suggestions on it?

Regards Lutz
CMX_Cust_Log_Set.JPG

Re: Build 3221 Custom daily logs doesn't work

Posted: Wed 11 Jan 2023 3:39 pm
by HansR
LSchenk wrote: Wed 11 Jan 2023 3:12 pm Hello, yesterday i tried to get custom logs work. Monthly file is working properly.
Dayfile named "MyLog" was enabled at ~ 10 pm and nothing came. At exact midnight a first file was written, but with a strange timestamp:
10.01.23;4,1;90;8,4;24;164;2,0;1015,7;19,4;50;0,0;0;0,8;4,2;4,1;4,2;37,0;91;87;0;0


No time is seen and since then, the file wasn't updatet until now.
My settings in pic below.

May someone have suggestions on it?

Regards Lutz

CMX_Cust_Log_Set.JPG
As it is a daily log you will only get a date and no time. Because it is a daily frequency you will only get one line per day at rollover time.
So, from what I see I would say it is OK (assuming the date format is correct).

If you say
LSchenk wrote: Wed 11 Jan 2023 3:12 pm the file wasn't updatet until now
what time is the now?

Re: Build 3221 Custom daily logs doesn't work

Posted: Wed 11 Jan 2023 3:54 pm
by LSchenk
Hello Hans, time now was as i posted the message at 4:12 pm CET.
For the file i got the information from a german forum, that the dayfile would record each dataset per interval.
This info seems to be wrong.

Thank you for the correction.

Re: Build 3221 Custom daily logs doesn't work

Posted: Wed 11 Jan 2023 3:57 pm
by PaulMy
Hi,
I don't do Daily so can't check on that. For my Interval logging it is shows in the MXdiags

Code: Select all

2023-01-11 10:20:00.051 DoExtraLogFile: Writing log entry for 11/01/23 10:20:00 AM
2023-01-11 10:20:00.051 DoExtraLogFile: Log entry for 11/01/23 10:20:00 AM written
2023-01-11 10:20:00.051 DoAirLinkLogFile: Writing log entry for 11/01/23 10:20:00 AM
2023-01-11 10:20:00.052 DoAirLinkLogFile: Log entry for 11/01/23 10:20:00 AM written
2023-01-11 10:20:00.052 DoCustomIntervalLog: CustomLog-1 - Writing log entry for 11/01/23 10:20:00 AM
2023-01-11 10:20:00.054 DoCustomIntervalLog: entry: 11/01/23,10:20,Temp: -0.4, Hum: 85, SL Press: 1015.3, W-Speed: 6.4, W-Gust: 30.0, Beaufort: F2, Cloudbase: 1477 ft, UV: 0.0, Solar Rad: 179, Forecast: Fairly fine, showery later, Curr Cond: Sunny
2023-01-11 10:20:00.054 DoCustomIntervalLog: CustomLog-1 - Log entry for 11/01/23 10:20:00 AM written
2023-01-11 10:20:00.054 DoCustomIntervalLog: CustomLog-2 - Writing log entry for 11/01/23 10:20:00 AM
2023-01-11 10:20:00.056 DoCustomIntervalLog: entry: 11/01/23,10:20,Raining: 0, Rain Rate: 0.0, Rain-Today: 0.0, Rain-1Hour: 0.0, Rain-24H: 0.0, Rain-Last: 2023-01-06 05:41, Minutes Since Last: 7479, Rain-Month: 21.2, Rain-Year: 21.2, ConsecRain Days: 0, ConsecDry Days: 4
2023-01-11 10:20:00.056 DoCustomIntervalLog: CustomLog-2 - Log entry for 11/01/23 10:20:00 AM written
Is there anything in your MXdiags at the time it is expected to process?

Enjoy,
Paul

Re: Build 3221 Custom daily logs doesn't work

Posted: Wed 11 Jan 2023 3:58 pm
by HansR
LSchenk wrote: Wed 11 Jan 2023 3:54 pm Hello Hans, time now was as i posted the message at 4:12 pm CET.
OK, but the file date/time must be the rollover time it can't be updated at 4:12
Can you confirm?

Edit: @PaulMy: I have a daily custom log and that logs OK one line per day at rollover time.

Re: Build 3221 Custom daily logs doesn't work

Posted: Wed 11 Jan 2023 4:15 pm
by LSchenk
Yes there is an entry at 00:00:

Code: Select all

2023-01-11 00:00:00.143 DoCustomDailyLog: MyLog - Writing log entry
2023-01-11 00:00:00.143 DoCustomDailyLog: entry: 10.01.23;4,1;90;8,4;24;164;2,0;1015,7;19,4;50;0,0;0;0,8;4,2;4,1;4,2;37,0;91;87;0;0
2023-01-11 00:00:00.143 DoCustomDailyLog: MyLog - Log entry written
Thank you both, so i have to use the monthly file for file monitoring from WsWin.

Regards

Re: Build 3221 Custom daily logs doesn't work

Posted: Wed 11 Jan 2023 4:55 pm
by PaulMy
Hi,
Hello, yesterday i tried to get custom logs work. Monthly file is working properly.
I presume with Monthly file you mean the saving of the Custom Interval Logs is in a monthly form, so a new file each month - i.e. yourfilename-yyyymm?

As @HansR confirms the Custom Daily Log is saved once a day with whatever tags have entered and perhaps he can confirm if that is a continuous file like the standard dayfile.txt, or if in a monthly or annual file.
so i have to use the monthly file for file monitoring from WsWin.
I am not familiar with WsWin but a search shows a 2011 program by that name, and also currently WsWin in WeatherCloud. Would the normal Weathercloud update by CumulusMX (in the Third Party Uploads settings) not be sufficient?

Enjoy,
Paul

Re: Build 3221 Custom daily logs doesn't work

Posted: Wed 11 Jan 2023 5:27 pm
by HansR
PaulMy wrote: Wed 11 Jan 2023 4:55 pm As @HansR confirms the Custom Daily Log is saved once a day with whatever tags have entered and perhaps he can confirm if that is a continuous file like the standard dayfile.txt, or if in a monthly or annual file.
The Daily custom log is a continuous file like the dayfile.txt

Re: Build 3221 Custom daily logs doesn't work

Posted: Wed 11 Jan 2023 7:12 pm
by LSchenk
Hi Paul,
I am not familiar with WsWin but a search shows a 2011 program by that name, and also currently WsWin in WeatherCloud. Would the normal Weathercloud update by CumulusMX (in the Third Party Uploads settings) not be sufficient?
WsWin is a german program, which is in steadily in update-progress. My problem is to have an instance, what receives the console-data from my hp1000se pro (Ecowitt-Clone), because WsWin have no direct access to theese data. Therefore i have to use file-monitoring. I'm not providing data to weather-services like AWEKAS, W-U etc. I use it just for my personal homepage.

Before the custom logs were available, i had to use a special .exe to merge the dayfile+extradayfiles into one .csv.

Now, with the costom logs, this is obsolete, and i can reduce the size of the monitored file to more than 80% less.

Just the the filenames with changing part of the date e.g. MyLog-yyyyMM.txt is a little problem because the monitored file should have no changing name. This i will fix with a Xcopy the file to another with unchanged name. Xcopy will run per interval by the CMX External Program settings. Testing it just now, looks fine.

Lutz