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

Re: Huge TunerStudioAppDebug.txt file

Postby LT401Vette » Fri Jun 23, 2017 12:54 pm

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
User avatar
LT401Vette
Super MS/Extra'er
 
Posts: 10302
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC

Re: Huge TunerStudioAppDebug.txt file

Postby jsmcortina » Fri Jun 23, 2017 1:59 pm

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

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

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 33760
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: Huge TunerStudioAppDebug.txt file

Postby jsmcortina » Sat Jul 22, 2017 5:10 am

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 supply, repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 33760
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Previous

Return to Tuner Studio

Who is online

Users browsing this forum: Bing [Bot] and 2 guests