Open navigation

Set-TPHubLogVerbosity

Description

Syntax

Example 1

Example 2



Description

Modifies the ThinPrint Client log level (see Logging)


Syntax

Set-TPHubLogVerbosity -Verbosity <LogLevel> -InputObject <variable> [-Proxy <string>]
ParameterDescription
-VerbosityErrorAndPrintJob = only errors and print job info are logged
Default = default level (ErrorAndPrintJob)
ErrorOnly = only errors are logged
All = all details are logged
-InputObjectlog 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 Default to ErrorOnly

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

ThinPrint Hub's PowerShell cmdlet Set-TPHubLogVerbosity


Example 2

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

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

ThinPrint Hub's PowerShell cmdlet Set-TPHubLogVerbosity: usage of variables


Did you find it helpful? Yes No

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