Logging in SharePoint is performed by default in the "root folder/LOGS", and tracks unexpected events and errors when they occur.

learn more… | top users | synonyms

8
votes
3answers
3k views

How to write to ULS Log in SharePoint 2010 from a .NET app?

The Sharepoint Trace Log Sample given at http://msdn.microsoft.com/en-us/library/aa979522.aspx & explained at http://msdn.microsoft.com/en-us/library/aa979595.aspx does not work in in Sharepoint ...
7
votes
3answers
8k views

Location of SharePoint error log

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I want to know how to find error logs when I met with something wrong? For example, when I am using SharePoint ...
6
votes
6answers
619 views

Should I use a third-party logging framework?

I was wondering if any of you were using an extra logging framework like elmah or log4net? Isn't logging already done by SharePoint (ULS)? If you think that it can be useful, could you explain why?
4
votes
1answer
4k views

SPTraceV4 service is using a built in account

So, after a clean install of SharePoint 2010 you sometimes get a warning that a service is using a built in account. This is found in yellow in the Monitoring panel in Central Administration. Upon ...
3
votes
2answers
591 views

ULS Log event email notification

Is it possible to configure Sharepoint such that it emails me whenever an event with exception severity occurs? If yes then how do I configure it?
3
votes
1answer
2k views

Is it possible to get detailed error messages in SharePoint Online?

When doing any sort of development/testing work against SharePoint Online, there are bound to be some errors. Some errors manifest in the form of exceptions, which can be logged to a special-purpose ...
3
votes
5answers
2k views

Logs files suddenly stopped to be filled

I have just installed a setup a new SP 2010 server. I don't know why, but suddenly, logs files stopped to be filled (and so ULS viewer remains empty). At the time of the last log entry, I was ...
3
votes
2answers
1k views

Can't find ULS Log file

I'm trying to find ULS logs file, so I went and configured the diagnostic logging in the central administration > Monitoring. I've selected all the categories, Set minimum level of trace ...
3
votes
1answer
271 views

ULS and Multiple WFEs

If a farm has multiple WFEs do they have the same ULS logging content replicated across both? Or does each have its own set of logs? Straight forward enough.
3
votes
1answer
32 views

Identify who has removed usergroups from website

is it possible to identify who has removed Usergroups from a Web? If it is not possible, what is the best way to track the changes.
3
votes
4answers
1k views

Access Denied when using the ULS Log System

I was following this tutorial: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spdiagnosticsservicebase.aspx But I got an access denied: protected override void ...
3
votes
3answers
4k views

SharePoint 2010 error not found in logs, how to configure logging?

We have a SharePoint 2010 feature that works fine on my development machine, but won't activate on the staging system. It's SiteCollection scoped, the containing solution was successfully deployed on ...
3
votes
1answer
3k views

SharePoint 2010 - Enable all logging timer jobs. Performance?

I found an interesting article about the logging timer jobs in SharePoint 2010. http://msdn.microsoft.com/en-us/library/gg512103.aspx#bk_splog In this article, it is stating that all the following ...
3
votes
1answer
6k views

Forefront Identity Manager errors when starting the SharePoint 2010 User Profile Synchronization Service Application

After following Spence Harbar's Rational Guide to implementing SharePoint Server 2010 User Profile Synchronization (http://www.harbar.net/articles/sp2010ups.aspx) exactly (and having it work several ...
2
votes
6answers
928 views

SharePoint Logger

What's your favorite logger when creating SharePoint apps ? I'm using log4net for ex. but I want to know what other software programmers use when building all type of sharepoint apps and why ?!.
2
votes
1answer
2k views

Why I get “Attempted to perform an unauthorized operation” while looping groups users

Could anyone explain me why when I trying to loop user of a group foreach (var u in group.Users){....}, I get the error : Attempted to perform an unauthorized operation. I notice that inside ...
2
votes
3answers
1k views

How to set maximum number of logfiles (Sharepoint 2010)?

How can I prevent my sharepoint server from generating mass amounts of logfiles? In the central adminstration I can only configure the maximum size per file + the time to keep them. With the ...
2
votes
1answer
106 views

Logging reading of a list item

We would like to know whenever a person has read a list item. Is there an event we can hook on to, or another way to log reading of an item.
2
votes
2answers
1k views

WriteTrace and WriteEvent

According to this http://msdn.microsoft.com/en-us/library/ff512746.aspx I have to use this code WriteTrace(System.UInt32, Microsoft.SharePoint.Administration.SPDiagnosticsCategory, ...
2
votes
1answer
47 views

What is good practice to log information in SharePoint?

We are creating a timer job that imports AD users into SharePoint list. I would liek to log this information somewhere so that at a later time I can check which users were pulled in and/why the ...
2
votes
2answers
3k views

ULS is not logging from web app

This is similar to "http://sharepoint.stackexchange.com/questions/2057/how-to-write-to-uls-log-in-sharepoint-2010-from-a-net-app". But in my case, logs are NOT showing up in ULS when logging from a ...
2
votes
1answer
118 views

Get ULS log records programatically

Is it possible to retrieve records from ULS log using C#/SharePoint API without having to manually parse log files? I would like to display logged messages on a custom web page, and I would like to ...
2
votes
1answer
249 views

How do I log to the SharePoint ULS logs from a Silverlight web part?

I am developing a Silverlight application which is to be hosted on a sharepoint 2010 page using the out of the box Silverlight webpart control. I want to log any exceptions to the sharepoint ULS logs ...
2
votes
1answer
145 views

Compressing log files

Is there any drawback of applying NTFS compression on IIS and Moss/Sharepoint (version 2007 and 2010) log files ? I guess this won't be an issue. There will be a slight CPU overhead, but a great ...
2
votes
1answer
176 views

Limitations of the wss_logging database?

I select some data for statistic from the wss_logging database. (How often will each site called in the month) No i realized that the stored data in the table (view) dbo.RequestUsage are only from ...
2
votes
1answer
168 views

Warm-Up Script not writing to log file

I have been working on implementing the warm-up script from Ingo Karstein Warm-Up Script The script runs without any issues, but the log file (.txt) is not being generated as expected. I have the ...
2
votes
0answers
374 views

SharePoint 2007 log files only contain “Tracing Service lost trace events.”

We have a problem with logging in our SharePoint 2007 environment. No matter what we try, the log files only contain a wsstracing "lost trace events" message over and over again. wsstracing.exe ...
1
vote
3answers
2k views

Generate Web Application GUID

I'm trying to troubleshoot some events in my logs and need to figure out what web application is associated to the GUID the logs reference. Anyone know how I can generate the GUID for each of my web ...
1
vote
1answer
96 views

What does the asterisk in the ULS log mean?

What does the asterisk at the end of the timestamp in the ULS log mean? Does this mean that this event has occurred multiple times?
1
vote
4answers
704 views

Best Practices/how to use SharePoint Logging?

What are best practices for using Logging when you deliver a final product? So far I only really output the errors to \14\Logs\ using.. SPDiagnositics.Local.WriteTrace(1, new ...
1
vote
4answers
521 views

Logging in sharepoint 2010

How to log all sharepoint errors, workflow errors, custom code errors into one central place? I checked this and seems a nice tool, is this saved on a databaase? Can I enable/disable events, like ...
1
vote
3answers
268 views

Debug Web Parts

I am studing this topic and I would like somebody to point me in the right direction for studying this. Debug Web Parts This objective may include but is not limited to: ULS log, and event log, ...
1
vote
1answer
832 views

What does the “Event ID” refer to in the ULS logs?

I am getting an error logged to my ULS logs that I would like to look up more information on. I see the "Event ID" in there but I don't know what that refers to. Is this value specific to my ...
1
vote
1answer
363 views

SPDiagnosticsService Area collection vs Areas in CA

In CA, Diagnostic Logging, a lot of areas with their categories are listed. When I enumerate these area's in code only three are returned: Business Connectivity Services SharePoint Foundation ...
1
vote
3answers
782 views

How do I use X-Forwarded-For header with SharePoint?

The WFEs for our OnPrem SharePoint farm sit behind an F5 load balancer. As a result, client requestor IPs are not captured in the IIS logs as everything appears to come from the F5. One way to get ...
1
vote
1answer
28 views

Match user actions to IIS logfile entries?

This is for SP2010. Does anybody know what entries in an IIS logfile match up with a cooresponding action in SharePoint? I'm looking to cook up a "badge" or "points" system similar to what is going on ...
1
vote
2answers
653 views

SharePoint very slow at Logging Correlation Data step in page trace

wondering if I configured something wrong. I just installed SharePoint on my laptop and it's running very slowly. It seems to be stuck at the Logging Correlation Data step. What exactly does this ...
1
vote
1answer
538 views

NLog in SharePoint 2010

Does anyone have experience with using NLog in SharePoint 2010? With NLog 1.0 I have had what seems to be only intermittent success with logging. I was using the supported environment variable to ...
1
vote
1answer
2k views

Setting/Changing the view programatically to xlstListviewwebpart

Can somebody please suggest me to set/change the view programatically in xsltlistviewwebpart from AllItems to something else, based on logged in user. Requirement is to find out the logged in user and ...
1
vote
2answers
89 views

Duration is not getting updated in the PKS Web-Application

We have a PKS enabled web-application in our environment, everything looks fine however the Duration (Single line in text) field is in PKS Podcasts List is not getting updated correctly while ...
1
vote
2answers
136 views

Is that possible to find the share point site current logged In user information?

Is that possible to find the share point site current logged In user information ? I find many reference in net it show only current user (single user info only).
1
vote
2answers
41 views

Log reading of documents

We are designing a system that will be implemented in MOSS 2007. One of the requirements is that reading of documents must be logged. We can do this via the IIS log. But is there a better way?
1
vote
1answer
68 views

Library Access/Usage Statistics in SharePoint Foundation 2013?

Is it possible to obtain usage statistics in SharePoint Foundation 2013? Say for example, if I want to see how many times a PDF in a library, or a list item has been accessed over a period of time, ...
1
vote
3answers
2k views

correlation id is missing in the Log

I have a handful of correlation id that I need to see in the log what happened this morning when a co-worker checkout the aspx file so he can modify something. upon checkout the whole portal became ...
1
vote
1answer
129 views

Search Service Application Log Viewer Page Search by URL, does it work?

We have SharePoint Enterprise in our environment, on top of that we use the Search Server 2010 which works well except when I want to find a specific page in the Crawl Log. If I want to see whether ...
1
vote
1answer
1k views

“View Document” Event for Document Library?

I'm trying to capture the View document "event" of when a user clicks on a document in a document library and it opens up the document in Word or Excel... There is not such an event receiver and ...
1
vote
1answer
740 views

Success Audit spamming event log

I have set up a standard MOSS installation using forms authentication with NTLM. I have noticed that there are a lot of audit success events in the windows event log is this normal? It makes it very ...
1
vote
2answers
212 views

Access denied - but only in one variant. How to determine the cause?

I got a call from a user who was trying to access the English variant of our simple portal and was getting an 'Access denied' message. As it turned out, she really wanted the German version and was ...
1
vote
1answer
500 views

Log4net deployment

We're developing web parts using log4net as the logging framework. Right now we're leaving the configuration details in the web.config and will be moving the log4net.dll to the GAC manually. For a ...
1
vote
1answer
34 views

SharePoint 2013 Apps Monitor

I am using SharePoint 2013 Server. I am monitoring an app, I followed this guide: Monitor apps for SharePoint. In the monitor, I can see that the errors are updated each 24 hours and the history ...