Open navigation

Messaging

Output formats

Log levels

Message sources

Message contents



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.

ThinPrint Management Services messaging: classic PowerShell output

ThinPrint Management Services messaging: 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

ThinPrint Management Services messaging: 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)

ThinPrint Management Services messaging: job ID of Tpms.Agent

job ID of Tpms.Agent

ThinPrint Management Services messaging: empty job ID because there isn’t a job started yet

empty job ID because there isn’t a job started yet

ThinPrint Management Services messaging: thread number

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

ThinPrint Management Services messaging: error code of a source

error code of a source

ThinPrint Management Services messaging: error code of a specific process with its translation, here: COMException

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

ThinPrint Management Services messaging: description of an error message at bottom level

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

ThinPrint Management Services messaging: interpretation of an error message at medium level

interpretation of an error message at medium level

ThinPrint Management Services messaging: summary with state (here: Success) and type or message source

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

ThinPrint Management Services messaging: Tpms interpretation of an error message with the consequent activity

Tpms interpretation of an error message with the consequent activity

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.