Export (0) Print
Expand All

Set-FASTSearchSecurityLogLevel

FAST Search Server 2010
 

Applies to: SharePoint Server 2010

Topic Last Modified: 2010-03-04

Updates the log level general setting.

Set-FASTSearchSecurityLogLevel [[-GeneralSetting] <LogLevelSetting>] [-DebugNameSpaceLogLevel <String[]>] [-DefaultLogLevel <String>] [-ErrorNameSpaceLogLevel <String[]>] [-IncludeExceptionStack <Nullable>] [-InfoNameSpaceLogLevel <String[]>] [-WarningNameSpaceLogLevel <String[]>]

This cmdlet updates the configuration information for the log level's general setting. The log level controls the type of information that is logged by the security system.

 

Parameter Required Type Description

GeneralSetting

Optional

Microsoft.SharePoint.Search.Extended.Security.PowerShell.Commands.GeneralSettings.LogLevelSetting

A LogLevelSetting whose property values are used for the LogLevelSetting being updated.

DebugNameSpaceLogLevel

Optional

System.String[]

A list of C# namespaces. Any class contained in that namespace logs all messages to the log.

A class can occur in only one namespace. If you specify the same class in more than one name space log level, the log level that generates the most messages will be set.

DefaultLogLevel

Optional

System.String

Specifies the type of log messages that each class writes to the log, unless the class is contained in a namespace explicitly specified in ErrorLogLevelNameSpaces, WarningLogLevelNameSpaces, InfoLogLevelNameSpaces, and DebugLogLevelNameSpaces.

Valid values are:

-- Error

-- Warning

-- Info

-- Debug

ErrorNameSpaceLogLevel

Optional

System.String[]

A list of C# namespaces. Any class included in the namespace only logs error messages.

A class can occur in only one namespace. If you specify the same class in more than one namespace log level, the log level that generates the most messages will be set.

IncludeExceptionStack

Optional

System.Nullable

Whether or not to include the exception stack in the log. Set to $True to include the exception stack.

InfoNameSpaceLogLevel

Optional

System.String[]

A list of C# namespaces. Any class contained in that namespace only logs error, warning, and info messages.

A class can occur in only one namespace. If you specify the same class in more than one namespace log level, the log level that generates the most messages will be set.

WarningNameSpaceLogLevel

Optional

System.String[]

A list of C# namespaces. Any class included in the namespace only logs error and warning messages.

A class can occur in only one namespace. If you specify the same class in more one than namespace log level, the log level that generates the most messages will be set.

---------------EXAMPLE 1-----------------

Set-FASTSearchSecurityLogLevel -DefaultLogLevel debug -IncludeExceptionStack $True

This example sets the default log level to the “Debug” level and enables the setting to include the exception stack in the log.

---------------EXAMPLE 2-----------------

Set-FASTSearchSecurityLogLevel -WarningNameSpaceLogLevel Microsoft

This example sets the log level setting for the “Microsoft” namespace to the “Warning” level.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft