Messaging

56 views 0

Output formats

There are two output formats, i. e. layouts, for Tpms.Powershell messages:

  • classic output
  • output in table form

You can change to the table form using the cmdlet Format-TpmsDispatch.

classic PowerShell output

(the same) PowerShell output in table form

Log levels

There are the log levels Fatal, Error, Warn, Info, Debug and Trace.

By enabling – for instance – the Info level all message of the levels Info, Warn, Error and Fatal will be shown. By enabling – for instance – the Error level only the mes­sages of the levels Error and Fatal will be shown.

You can change between the log levels using the cmdlet Set-TpmsLogLevel.

Message sources

There are the three sources for generating messages:

  • Client = Tpms.Powershell
  • Service = Tpms.Service
  • Agent = Tpms.Agent

sources for message in the Tpms.Powershell command line

Message contents

The messages of Tpms.Powershell can contain:

  • the job ID when a job is started on the Service or on the Agent
  • the thread number (for debugging purposes only)

job ID of Tpms.Agent

empty job ID because there isn’t a job started yet (or here, jobs aren’t running on the Client)

thread number

  • the error code of the source (if the error is related to the source itself, e.g. if the Service is unable to connect to the Agent)
  • the error code of a specific process (which do not apply to the entire source) with its translation if pos­sible
  • at bottom level: the description of an error message

error code of a source (here, the Service is not authorized to connect to the Agent)

error code of a specific process with its translation, here: COMException

description of an error message at bottom level

  • at medium level: the interpretation of an error message of the bottom level
  • at top level: the summary and state
  • at top level: the interpretation of an error message with the consequent activity

interpretation of an error message at medium level

summary with state (here: Success) and type or message source (here: server)

Tpms interpretation of an error message with the consequent activity (here: Aborting)

Previous Page
Next Page

Was this helpful?