Console Output
Posted: Wed 02 Dec 2020 9:58 pm
Hi Hans,
Been playing with utils & my long overdue upgrade along with AirQual enhancement.
Been looking in log files quite a bit addressing the odd issue here & there.
What I'm thinking as it runs it could provide some output to the console.
Basically selected lines that are written to the log file.
On occasions seems to take too long, (when I had errors), you do wonder what is happening.
Output to the console could be either on by default, with a silent switch, or the opposite.
The sort of thing that would be good to see would be just the starting & completion of each process.
Would provide a little immediate debugging help before opening logs etc.
A few example lines from the log I just browsed below.
Cheers
Phil.
Been playing with utils & my long overdue upgrade along with AirQual enhancement.
Been looking in log files quite a bit addressing the odd issue here & there.
What I'm thinking as it runs it could provide some output to the console.
Basically selected lines that are written to the log file.
On occasions seems to take too long, (when I had errors), you do wonder what is happening.
Output to the console could be either on by default, with a silent switch, or the opposite.
The sort of thing that would be good to see would be just the starting & completion of each process.
Would provide a little immediate debugging help before opening logs etc.
A few example lines from the log I just browsed below.
Cheers
Phil.
Code: Select all
2020-12-02 09:00:07.372 SystemStatus : DoingWindows
2020-12-02 09:00:14.762 Timing of SysInfo generation = 8753 ms
2020-12-02 09:00:17.434 Maps GetFTPLock : Checking for a lockfile
2020-12-02 09:00:27.716 Timing of Map generation = 12955 ms
2020-12-02 09:00:28.075 Prediction The data: <var>
2020-12-02 09:00:28.075 Timing of WeatherForecast generation = 354 ms
2020-12-02 09:00:28.075 USerReports: Start
2020-12-02 09:00:28.075 Timing of USerReports generation = 2 ms
2020-12-02 09:00:28.075 Airquality Contructor: start
2020-12-02 09:00:28.278 Timing of AirQuality generation = 208 ms
2020-12-02 09:00:28.278 CumulusUtils : Creating class dayfile -> Opening dayfile.txt
2020-12-02 09:00:28.356 Timing of Dayfile load = 65 ms
2020-12-02 09:00:28.356 PwsFWIfuncs constructor
2020-12-02 09:00:28.778 Timing of pwsFWI generation = 415 ms
2020-12-02 09:00:28.778 Main CmulusUtils: Yadr Constructor Start