Huge TunerStudioAppDebug.txt file

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Huge TunerStudioAppDebug.txt file

Post by LT401Vette »

BigBlockMopar wrote:Just shooting an idea here; Maybe incorporate a log-rule that prevents writing to the log, if the newest message is the same as the last one (except for the timestamp).
And perhaps then occassionally show a log-entry that the last error message occured n-number of times in a period of x-seconds.
That does sound like a reasonable idea.
While I'm not sure what action triggered the repeated error, it is not hard for an error to happen in a loop. Global protection would good.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Huge TunerStudioAppDebug.txt file

Post by jsmcortina »

Sounds like it should trigger a user warning and/or a process reset too for improved application reliability.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Huge TunerStudioAppDebug.txt file

Post by jsmcortina »

I've just seen similar behaviour in 3.0.27 that could cause a very large log file.

22/07/17 13:07:29 :Info: Opening port: /dev/ttyUSB0
22/07/17 13:07:29 :Info: Error creating streams to port, closing port to cleanup.
22/07/17 13:07:29 :Info: Error closing port on cleanup. Port name - /dev/ttyUSB0; Method name - closePort(); Exception type - Port not opened.
22/07/17 13:07:29 :Debug: Port not valid: Unable to open port: /dev/ttyUSB0
Please check your Communications Settings.
...
on and on and on...

The file is growing by 59k every minute.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Post Reply