Export (0) Print
Expand All
Expand Minimize

Add-SPProjectLogLevelManager

Project Server 2013

Published: July 16, 2012

Applies to:  SharePoint Server 2013 Enterprise 

Adds an entity (project, resource, task, timesheet, and so on) to the Project Server 2013 internal watch list for the specified instance of Project Web App.

Add-SPProjectLogLevelManager -EntityType <String> -EntityUID <Guid> -Url <Uri> [-AssignmentCollection <SPAssignmentCollection>] [-Comments <String>] [-LogLevel <Unexpected | Monitorable | High | Medium | Verbose | VerboseEx>]

Parameters

Parameter Required Type Description

EntityType

Required

System.String

Type of entity to add to the watch list: Assignment, Calendar, Job, Object, Period, Project, Resource, Task, Template, Timesheet.

EntityUID

Required

System.Guid

GUID of the entity to add to the watch list.

Url

Required

System.Uri

URL of the target instance of Project Web App.

AssignmentCollection

Optional

Microsoft.SharePoint.PowerShell.SPAssignmentCollection

Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.

note Note:

When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.

Comments

Optional

System.String

Maximum 255 characters.

LogLevel

Optional

Microsoft.Office.Project.Server.Diagnostics.ULSTraceLevel

Lowest level of logs to surface for the entity. Valid values are Unexpected, Monitorable, High, Medium, Verbose, and VerboseEx. The default is Verbose.

Detailed Description

Adds an entity (project, resource, task, timesheet, and so on) to the Project Server 2013 internal watch list for the specified instance of Project Web App. All logs related to that entity, above the specified level, are added to the ULS logs.

Input Types

Return Types

--------------------EXAMPLE---------------------

Add-SPProjectLogLevelManager-Url http://Contoso-AppSrv/pwa-EntityType Project-EntityUID "0798BF6A-F248-4F0F-8957-4D73993265BC"-LogLevel Verbose-Comments "xyz"

This example adds the Project entity to http://Contoso-AppSrv/pwa and sets the log level to Verbose.

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