Set-TPHubLogVerbosity

61 views 0

Description

Modifies the ThinPrint Client log level (see Logging)

Syntax

Set-TPHubLogVerbosity -Verbosity <LogLevel> -InputObject <variable> [-Proxy <string>]
Parameter Description
-Verbosity ErrorAndPrintJob = only errors and print job info are logged
Default = default level (ErrorAndPrintJob)
ErrorOnly = only errors are logged
All = all details are logged
-InputObject log level is defined by variable
-Proxy • optional (from firmware version 1.1): proxy server address
• can also be specified globally using Set-TPHubProxy

Example 1

Modifying the log level, here: from <em>DEFAULT </em>to <em>ERRORONLY </em>

Get-TPHubLogVerbosity
Set-TPHubLogVerbosity -Verbosity ErrorOnly
Get-TPHubLogVerbosity

 modifying the log level, here: from Default to ErrorOnly

Example 2

Setting log level by variable, here: from <em>ERRORONLY </em>to <em>ALL </em>

$a = Get-TPHubLogVerbosity
$a
$b = "All"
$a.Verbosity = $b
Set-TPHubLogVerbosity -InputObject $a or $a | Set-TPHubLogVerbosity
Get-TPHubLogVerbosity

setting log level by variable, here: from ErrorOnly to All

Previous Page
Next Page

Was this helpful?