Difference between revisions of "Logging"

From truxwiki.com
Jump to navigation Jump to search
(Created page with "This article discusses the many different logs in Truxton and why. =Logging Design= Truxton is designed to have a front-end GUI for humans to interact with as well as back-en...")
 
Line 6: Line 6:
  
 
=The Installer=
 
=The Installer=
Where? Why?
+
The installer is made of two pieces, <code>Truxton_Installer.exe</code> and <code>Truxton.msi</code>.
 +
The executable will gather information about the system and use it to feed parameters to the [https://docs.microsoft.com/en-us/windows/win32/msi/standard-installer-command-line-options Microsoft Installer].
 +
The program will detail its every thought to the [[Log File Locations#Setup|log file]].
 +
It will tell Microsoft Installer write to a log in the user's [https://en.wikipedia.org/wiki/Environment_variable#LOCALAPPDATA local app data] <code>Low</code> folder.
 +
This folder is writable from the Microsoft Installer as it switches between user and Administrator mode.
 +
Once the Microsoft Installer is finished, control is passed back to <code>Truxton_Installer.exe</code> which will complete the installation process.
  
 
=The Desktop=
 
=The Desktop=

Revision as of 09:41, 25 July 2022

This article discusses the many different logs in Truxton and why.

Logging Design

Truxton is designed to have a front-end GUI for humans to interact with as well as back-end systems that humans are not meant to see. This leads to different logging systems being employed.

The Installer

The installer is made of two pieces, Truxton_Installer.exe and Truxton.msi. The executable will gather information about the system and use it to feed parameters to the Microsoft Installer. The program will detail its every thought to the log file. It will tell Microsoft Installer write to a log in the user's local app data Low folder. This folder is writable from the Microsoft Installer as it switches between user and Administrator mode. Once the Microsoft Installer is finished, control is passed back to Truxton_Installer.exe which will complete the installation process.

The Desktop

The Analyst Desktop is a Windows application. It writes

The Truxton Service

Logs to the Application Log