#ProjectServer #PS2013 Log Level Manager #SP2013 #SharePoint #MSProject #PowerShell

July 26, 2012 at 8:15 pm | Posted in Administration, Configuration, Functionality, Information, PowerShell | 3 Comments
Tags: , ,

There is new feature in Project Server 2013 called the Log Level Manager that enables you to track certain entities such as Projects, Resources and Tasks etc. Once configured, all activity on the farm for that particular entity, depending on the logging level set, is logged in the SharePoint ULS logs. 

More details can be found here:

http://technet.microsoft.com/en-us/library/ff631142(office.15).aspx#section16

The log level manager is configured using PowerShell, the Project Server 2013 preview PowerShell commands can be found here:

http://technet.microsoft.com/en-us/library/ee890097(office.15).aspx

For the purpose of this blog post I have enabled logging for one test project, the project is called PMPSTest1 and the project GUID is 35cafba6-38d6-e111-9923-4c809328175b. Below you can see the PowerShell commands used to set up the logging for this one project:

image

Notice the refresh command, this is required to update the cached list of entities to watch.

As mentioned above the log level manager writes the logs into the SharePoint ULS logs, an example can be seen below:

image

An example entry:

LogLevelManager!PWA:http://vm657/PWAClassic, ServiceApp:Project Server Service Application, User:i:0#.w|cps\paulmather, PSI: Start checkout of project ’35cafba6-38d6-e111-9923-4c809328175b’ by resource ‘f8a06617-38d6-e111-bf72-00155d1463b9’ to store ‘WorkingStore’. Project:35cafba6-38d6-e111-9923-4c809328175b Original TraceLevel:Medium    9f6fbd9b-85f6-e003-5b7a-17f60ec5f059

The SharePoint ULS logs aren’t the nicest of log files to look through at the best of times, never mind trying to look for logs regarding the specific Project Server entities that you are tracking. I will create a simple PowerShell script to take all of the log level manager entries from the ULS logs and place these into a new text file/s. This will enable you to view all of the Project Server log level manager entries without the other SharePoint entries.

The log level manager is very useful for auditing / tracking activity for a certain project, task or timesheet etc. It would not be recommended to enable verbose logging for all entities in Project Server though!

Advertisements

3 Comments »

RSS feed for comments on this post. TrackBack URI

  1. […] This article has been cross posted from pwmather.wordpress.com (original article) […]

  2. […] This post follows on from my previous post regarding the new log level manager functionality in Project Server 2013: https://pwmather.wordpress.com/2012/07/26/projectserver-ps2013-log-level-manager-sp2013-sharepoint-ms… […]

  3. […] This post follows on from my previous post regarding the new log level manager functionality in Project Server 2013: https://pwmather.wordpress.com/2012/07/26/projectserver-ps2013-log-level-manager-sp2013-sharepoint-ms… […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: