About the Alchemy Deployment Workflow Log

Save to PDF

Applies to: Alchemy

03/03/2023 Cliff Hobbs   ID: 1820831

By default, whenever you deploy a Cloudhouse Alchemy Compatibility Package using Cloudhouse.Container.Deployment.exe, the Deployment Log DeploymentWorkflowLog.txt is created in the same folder that the Compatibility Package is being deployed from.

The log is also output to the console at the same time.

Delete

Note

The Deployment Log leverages log4net. Please see their website for further information.

The configuration of the Deployment log file and its behaviour is controlled via the Cloudhouse.container.deployment.exe.config configuration file, found in the source Compatibility Package.

Delete

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 for an Alchemy Compatibility Package.

Log Format

The entries in the DeploymentWorkflow.txt are formatted as follows:

%Date% %LogLevel% %Component% - %Message%"

where:

Category Description
Date Date and time the log file entry was written.
LogLevel Defines the type of log entry:
  • INFO – General information about what is happening during each component. For example, “Starting service installation”.
  • WARNING – Contains information you want to be warned about that could affect the way the Compatibility Package is deployed, but which do not cause the deployment to fail.
    For example, “The service {name} will be run as the LocalSystem account instead of {username}.”
  • ERROR – Errors that have stopped the deployment from succeeding.
  • DEBUG – Detailed information of each component and is used to record information on how the Compatibility Package Runtimes are running.
Component The area the log line relates to. For example, “ServicesComponent” relates to information about Services.
Message The message associated with the log line.

For example:

2023-01-10 17:16:48,592 INFO   ServicesComponent - Starting service installation.

Where:

  • 2023-01-10 17:16:48,592 - is the Date and Time the message was written.
  • INFO - is the log level.
  • ServicesComponent - is the relevant Component
  • Starting service installation - is the message.
Delete

Warning

By default, INFO logs are created during deployment. 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 Alchemy Compatibility Packages.

Source:
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support