Logging in SharePoint is performed by default in the "root folder/LOGS", and tracks unexpected events and errors when they occur.
8
votes
3answers
2k 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
6k 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 ...
4
votes
6answers
484 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?
3
votes
2answers
489 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
2answers
540 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
162 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
26 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
698 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
3k 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
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 ...
2
votes
6answers
834 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
3answers
345 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
96 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
1answer
147 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
96 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
2answers
2k 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
4answers
1k 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 ...
2
votes
1answer
69 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
1k 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
1answer
80 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
263 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 ...
2
votes
1answer
4k 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 ...
1
vote
3answers
821 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
4answers
251 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
2answers
784 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, ...
1
vote
3answers
218 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
307 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 ...
1
vote
1answer
459 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
242 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
516 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
2answers
481 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
404 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
1k 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
86 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
130 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
39 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
3answers
1k 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
105 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
749 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
487 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
200 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
484 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
0answers
244 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() {
...
1
vote
0answers
158 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 ...
1
vote
1answer
69 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?
1
vote
0answers
58 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
0answers
195 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 ...
1
vote
1answer
182 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
3answers
994 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 ...
0
votes
1answer
290 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 ...

