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

2
votes
1answer
398 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 ...
1
vote
4answers
4k 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 ...
2
votes
1answer
201 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 ...
3
votes
1answer
355 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
3k 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 ...
1
vote
3answers
3k 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 ...
0
votes
1answer
3k views

SPDiagnosticsService.WriteTrace throws error “Object reference not set to an instance of an object”

I am trying to write entries into logging and have trouble doing so. Using Client object model on SharePoint foundation. Code is running from a console app. SPDiagnosticsService.Local.WriteTrace(0, ...
1
vote
0answers
386 views

How to clea Authentication Cache from browser to custom signout sharepoint page completly

This code I have using to clear the cache so that it has automatically sign-out from SharePoint site and it has to prompt the authentication dialog to login again. function _spBodyOnLoad() { ...
3
votes
2answers
4k 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 ...
0
votes
1answer
1k views

How to turn off “Failed to open the file” logs for invariant resources? [duplicate]

Possible Duplicate: Resource files creates unnecessary ULS log entries With invariant resources in the SharePoint solutions, we have a lot of spammed logs, such as Failed to open the file 'C:\...
1
vote
4answers
626 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
1answer
526 views

IIS Log files are not getting generated for the “SharePoint Web Services” webapplication in SharePoint - 2010?

IIS Log files are not getting generated for the "SharePoint Web Services" webapplication in SharePoint - 2010, even though Logging is enabled at the IIS level. Is that an expected behavior? or this ...
2
votes
3answers
2k 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 ...
3
votes
5answers
4k 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 ...
0
votes
1answer
1k views

Logging in custom Webparts and Application pages

I'm working on a SharePoint 2010 project which consists of a few application pages and some webparts. Whenever some error occurs in any of the custom pages/webparts I get the sharepoint error page ...
3
votes
1answer
4k 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 ...
2
votes
0answers
492 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
1answer
99 views

SharePoint 2007 stopped recording of messages into log files

May I know what should I do if the MOSS 2007 stop recording message into the logs located in the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS folder?
0
votes
1answer
174 views

Is it possible to use SharePoint Logger from MS P&P SharePoint 2010 Guidance Library when user is not authenticated?

I am working on custom authentication for SharePoint 2010. And I found very useful to use SharePoint Logger from MS P&P SharePoint 2010 Guidance Library. It works fine when I get instance of ...
1
vote
0answers
111 views

Anonymous usage reports?

Tried shortly with a fresh SP2010 install but couldn't find a way to do this... Is it possible to configure the usage reporting or the Web Analytics feature to log usage information anonymously? ...
1
vote
1answer
1k 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
2answers
759 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 ...
6
votes
6answers
736 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?
1
vote
0answers
261 views

Entire webapp unable to log to ULS

I've reinstalled SharePoint with least privilege accounts, and use a separate account for all non-central-admin web apps. This separate domain account is in the WSS_WPG group, and seems otherwise to ...
0
votes
1answer
37 views

How to configure (or what should be the mimimum) the log to bare mimimum?

The log is growing crazy. Someone configured it to log everything and it's growing to 3 GB a day. What is the bare minimum logging I should have so that it does not grow as big yet serves the purpose. ...
1
vote
1answer
434 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
1answer
293 views

infopath form submit error not getting logged

What is it that would cause no error message to be logged if the form fails to submit? I have a form that has custom submit code written and at times fails on submit. It gives a correlation id which ...
0
votes
1answer
267 views

Possible to add a section to the “Diagnostic Logging” section for a custom timer job?

I found this post but at the end it suggests making changes to the registry which scares me a little bit. Is there a better way to do this? Is modifying the registry in this case "normal"?
1
vote
3answers
1k 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
151 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 ...
0
votes
3answers
2k views

404 on website and “Access denied” error code in log file

I am having problems with my portal (which a newbie has created) in the company I recently joined to get my hands dirty with MOSS 2007; I have no prior experience in SharePoint as I am more of a .NET ...
1
vote
0answers
107 views

My correlation ids aren't showing in the ULS logs, what may be causing this?

I've added all of my SharePoint service accounts to the Domain Admins group which are in the local administrators but I'm still getting ids that don't exist in the logs. I am running a single server ...
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
750 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
3k 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 ...
2
votes
1answer
110 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.
1
vote
2answers
92 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 ...
4
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 Render(...
1
vote
2answers
148 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
1answer
958 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
43 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?
2
votes
2answers
2k 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, Microsoft....
1
vote
3answers
279 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, debug....
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 ...
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
3answers
5k 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 ...
0
votes
1answer
1k views

Setup an item level auditing for a sharepoint document library

I would like to setup an item level auditing (Opening or viewing or downloading) for a SharePoint 2007 document library without enabling audit for the entire site-collection. This link may help us ...
0
votes
2answers
521 views

Trimming audit events

We'd enabled all types of audit events for our production web-application and ended up with an issue with DB as auditData table grown to 50GB. Now, we want to reduce the size of the AuditData table. ...
0
votes
1answer
374 views

Enable audit setting for a production site collection

Shall we recommand to have an audit settings enabled for a production site collection? if so, what are all the things that we have to consider before that? what would be the maximum size of an ...
1
vote
2answers
216 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 ...