Set-FASTSearchSecurityLogLevel
Updates the log level general setting.
Syntax
Set-FASTSearchSecurityLogLevel
[[-GeneralSetting] <LogLevelSetting>]
[-DebugNameSpaceLogLevel <String[]>]
[-DefaultLogLevel <String>]
[-ErrorNameSpaceLogLevel <String[]>]
[-IncludeExceptionStack <Boolean>]
[-InfoNameSpaceLogLevel <String[]>]
[-WarningNameSpaceLogLevel <String[]>]
[<CommonParameters>]
Description
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.
For permissions and the most current information about FAST Search Server 2010 for SharePoint cmdlets, see the online documentation, (https://go.microsoft.com/fwlink/?LinkId=163227).
Examples
---------------EXAMPLE 1----------------- (FAST Server for SharePoint 2010)
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----------------- (FAST Server for SharePoint 2010)
Set-FASTSearchSecurityLogLevel -WarningNameSpaceLogLevel Microsoft
This example sets the log level setting for the "Microsoft" namespace to the "Warning" level.
Parameters
-DebugNameSpaceLogLevel
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.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-DefaultLogLevel
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
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-ErrorNameSpaceLogLevel
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.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-GeneralSetting
A LogLevelSetting whose property values are used for the LogLevelSetting being updated.
Type: | LogLevelSetting |
Position: | 9999 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-IncludeExceptionStack
Whether or not to include the exception stack in the log. Set to $True to include the exception stack.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-InfoNameSpaceLogLevel
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.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-WarningNameSpaceLogLevel
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.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |