Package Management Log
By default, whenever you execute a command using the Cloudhouse.Package.Management.exe, the Package Management Log Cloudhouse.PackageManagement.log is created in the same folder that the executable was run from. The log is also output to the console at the same time.
Note: The Package Management Log leverages log4net. Please see their website for further information.
The configuration of the Package Management log file and its behaviour is controlled via the Cloudhouse.package.management.exe.config configuration file, found in the same location as the Package Management Executable.
Note: The configuration file contains the recommended settings for a Compatibility Package, but you can modify this file to control the behaviour of logging, as detailed in Configuring Logging.
Log Format
The entries in the Cloudhouse.PackageManagement.log are formatted as follows:
%Date% %LogLevel% %Component% - %Message%"
Where:
|
Category |
Description |
|---|---|
|
|
Date and time the log file entry was written. |
|
|
Defines the type of log entry:
|
|
|
The area the log line relates to. For example, |
|
|
The message associated with the log line. |
For example:
2023-10-17 10:46:07,281 INFO VerificationWorkflow - Verifying connection to licensing servers.
Where:
-
2023-01-10 17:16:48,592– is theDate and Timethe message was written. -
INFO– is thelog level. -
VerificationWorkflow– is the relevantComponent. -
Verifying connection to licensing servers– is themessage.
Note: By default, INFO logs are created during package management. Setting the log level to DEBUG increases the verbosity of the logs and should only be used during troubleshooting.
See the Configuring DEBUG Logging section of Configuring Logging for more information.