Get-QADDiagnosticLogStatus

From PowerGUI Wiki

Jump to: navigation, search

Check to see if diagnostic logging is enabled or disabled in ActiveRoles Management Shell.

This cmdlet is part of the Quest ActiveRoles Server product. Use Get-QARSProductInfo to view information about ActiveRoles Server.

Contents

Syntax

Get-QADDiagnosticLogStatus [<CommonParameters>]

Detailed Description

Use this cmdlet to view status information regarding diagnostic logging. The cmdlet output includes the following items:

 Local log: Enabled   Indicates that diagnostic logging for the current session was turned
                              on by using Enable-QADDiagnosticLog without the Global parameter.
                              The cmdlet also displays the path to the log file for the current
                              session (local log file). 
 Local log: Disabled  Indicates that diagnostic logging for the current session was not 
                              turned on by using Enable-QADDiagnosticLog without the Global
                              parameter. 
 Global log: Enabled  Indicates that diagnostic logging for the current and future sessions
                               was turned on by using Enable-QADDiagnosticLog with the Global
                               parameter. The cmdlet also displays the path to the global log file. 
 Global log: Disabled  Indicates that diagnostic logging for the future sessions was not
                               turned by using Enable-QADDiagnosticLog with the Global
                               parameter. 
 Active log: Path        Displays the path and name of the file that is currently used to store
                               diagnostic information. 

If both local log and global log are enabled, the local log option takes precedence and diagnostic information is recorded to the local rather than global log file.



Examples

EXAMPLE 1

Get-QADDiagnosticLogStatus

Description


Check whether diagnostic logging is turned on (enabled) or turned off (disabled).

Personal tools