View Issue Details

IDProjectCategoryView StatusLast Update
0000188Application Manager[All Projects] Feature Requestpublic2016-08-14 02:45
ReporterJon 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Projectionnone 
Product VersionProduct BuildAlpha 
Target VersionAlpha 0.2Fixed in VersionAlpha 0.2 
Summary0000188: Improve Application logging
DescriptionLogging should happen in three stages
  - 'Session log' saved to the APPData Log Folder
  - 'Individual Application log' to log folder and the app name as the filename

Each log should be saved with the start DTG in the filename.
Additional InformationCleanup of old logs should also occur.
TagsNo tags attached.
StageComplete

Relationships

related to 0000087 resolvedJon SCMS Library (SCMS.dll) Improve Logging and error handling 

Activities

Jon

2015-06-29 19:39

manager   ~0000787

Last edited: 2015-06-29 19:41

View 2 revisions

TODO:

Clarify these log entries to read that the installer is no certain the app installed. a failed to install should only be stated if the error code returned is not a success.
Should read
OLD

Debug - File [] does not exist unable to check it's hash.
Information - Attempting to install Application
Information - Installation Exit with 0.
Information - Commencing checks to determin if application is installed
Debug - File Check
Debug - File Hash Check
Debug - File [] does not exist unable to check it's hash.
Warning - Install failed
Warning - Failed to install, trying again
Information - Commencing checks to determin if application is installed
Debug - File Check
Debug - File Hash Check
Debug - File [] does not exist unable to check it's hash.
Information - Attempting to install Application
Information - Installation Exit with 0.
Information - Commencing checks to determin if application is installed
Debug - File Check
Debug - File Hash Check
Debug - File [] does not exist unable to check it's hash.
Warning - Install failed
Alert - retried install FAILED


NEW:


Debug - File [] does not exist unable to check it's hash.
Information - Attempting to install Application
Information - Installation Exit with 0.
Information - Commencing checks to determin if application is installed
Debug - File Check
Debug - File Hash Check
Debug - File [] does not exist unable to check it's hash.


Warning - Could not determine that the application installed correctly, but the installer did return 
success {0}


DELETE LINE  Warning - Failed to install, trying again
Information - Commencing checks to determin if application is installed
Debug - File Check
Debug - File Hash Check
Debug - File [] does not exist unable to check it's hash.


Information - Attempting to install Application, due to not being able to determine if the application 
installed correctly the first time.
Information - Installation Exit with 0.
Information - Commencing checks to determin if application is installed
Debug - File Check
Debug - File Hash Check
Debug - File [] does not exist unable to check it's hash.

Warning - Still unable to determine if the application installed correctly
Warning - Attempted to install the application [{0}] {1} times and it failed the install checks.

the last entry should be Warning unless the installer returns an error.

Jon

2015-06-29 19:43

manager   ~0000788

Reminder sent to: jason

Jas,

Have you identified any issues not mentioned in this ticket in relation to the clarification of the log entries or anything that does need improving?

jason

2015-06-30 15:30

reporter   ~0000792

I think it's a good move deleting the line -Warning - Failed to install, trying again. Removes some confusion.

My understanding here is that;

jason

2015-06-30 15:38

reporter   ~0000793

Ooops.
My understanding is that;
Installer checks whether the file exists
Attempts to install the file
installation exits and gives an error level
Checks to see if the application installed
Checks the file
Does a hash check
If unable to determine if the file has installed correctly, and the installer returns an error it will try again once, otherwise it considers a success

I gather that the hash check is checking the installer (e.g firefox installer)

Correct me if that's wrong

Jon

2015-06-30 15:45

manager   ~0000794

Depends on where the entry is in the log,

the above question was more in the general sense, is there anything that needs to be improved with logging or weather you would like see something done differently

Jon

2015-06-30 15:47

manager   ~0000795

Reminder sent to: jason

please review previous question.

administrator

2015-06-30 16:33

administrator   ~0000796

correcting workflow.

jason

2015-06-30 18:35

reporter   ~0000798

Ah, in response to the original question.

I don't think anything else needs to be added / changed. It does exactly what is needed, and I can understand what is being presented.

Jon

2015-06-30 19:27

manager   ~0000799

348 (387d1f58bd5e) Feature: 0000188 Removed the superfluous log entries.

Jon

2015-11-30 11:59

manager   ~0001010

Reverting to new as this issues is not being worked on.

administrator

2015-11-30 12:03

administrator   ~0001063

correcting status to ack.

Jon

2015-12-29 12:19

manager   ~0001302

marking as resolved as this issue was fixed months ago.

Issue History

Date Modified Username Field Change
2015-06-08 13:40 Jon New Issue
2015-06-08 13:41 Jon Status new => acknowledged
2015-06-08 14:10 Jon Target Version => Beta 0.1
2015-06-20 14:03 Jon Target Version Beta 0.1 => Alpha 0.1
2015-06-26 20:42 Jon Status acknowledged => assigned
2015-06-26 21:01 Jon Status assigned => confirmed
2015-06-26 21:18 Jon Target Version Alpha 0.1 => Alpha 0.2
2015-06-26 21:51 Jon Build => Alpha
2015-06-29 19:39 Jon Note Added: 0000787
2015-06-29 19:41 Jon Note Edited: 0000787 View Revisions
2015-06-29 19:41 Jon Status confirmed => feedback
2015-06-29 19:43 Jon Note Added: 0000788
2015-06-29 19:43 Jon Status feedback => new
2015-06-29 19:43 Jon Status new => feedback
2015-06-30 15:30 jason Note Added: 0000792
2015-06-30 15:38 jason Note Added: 0000793
2015-06-30 15:45 Jon Note Added: 0000794
2015-06-30 15:45 Jon Status feedback => new
2015-06-30 15:47 Jon Note Added: 0000795
2015-06-30 16:33 administrator Note Added: 0000796
2015-06-30 16:33 administrator Status new => feedback
2015-06-30 17:59 Jon Status feedback => new
2015-06-30 17:59 Jon Status new => assigned
2015-06-30 18:35 jason Note Added: 0000798
2015-06-30 19:27 Jon Note Added: 0000799
2015-06-30 19:27 Jon Status assigned => acknowledged
2015-06-30 19:27 Jon Note View State: 0000799: public
2015-11-30 11:59 Jon Status acknowledged => new
2015-11-30 11:59 Jon Note Added: 0001010
2015-11-30 12:03 administrator Status new => acknowledged
2015-11-30 12:03 administrator Note Added: 0001063
2015-12-13 18:16 Jon Relationship added related to 0000087
2015-12-29 12:19 Jon Note Added: 0001302
2015-12-29 12:19 Jon Status acknowledged => resolved
2015-12-29 12:19 Jon Fixed in Version => Alpha 0.2
2015-12-29 12:19 Jon Resolution open => fixed
2016-08-13 23:53 administrator Stage => Unknown
2016-08-14 02:45 administrator Stage Unknown => Complete