{"id":20,"date":"2007-10-05T22:37:36","date_gmt":"2007-10-06T04:37:36","guid":{"rendered":"http:\/\/idubbs.com\/blog\/?p=20"},"modified":"2007-10-05T22:37:36","modified_gmt":"2007-10-06T04:37:36","slug":"0k-sharepoint-logs","status":"publish","type":"post","link":"https:\/\/www.idubbs.com\/blog\/2007\/0k-sharepoint-logs\/","title":{"rendered":"0k SharePoint Logs"},"content":{"rendered":"<p><span style=\"font-size: 10pt; font-family: 'Arial','sans-serif'\">So here&#8217;s a new one to me.\u00a0 I&#8217;ve seen SharePoint logging creating 0k log files in the past &#8211; due to a variety of reasons like service account permissions being out of wack and the timer job somehow getting &#8216;stuck&#8217;.\u00a0 Usually when I come across these 0k files, it&#8217;s when I&#8217;m trying to debug something on a site only to find out that nothing I&#8217;ve been doing is getting logged &#8211; irritating.\u00a0 Anyhow, the other common circumstance I run into is that by the time I notice that 0k files are being created (hey, maybe 0k log files should be a monitorable event that gets reported by MOM, etc&#8230; someone get on that&#8230;) its long after any useful logs have been purged from the system &#8211; so there&#8217;s a directory full of 0k files.\u00a0 Go put your troubleshooting hat on.\u00a0 <o:p><\/o:p><\/span><span style=\"font-size: 10pt; font-family: 'Arial','sans-serif'\">This week while working on a client site, I actually got to catch the log files &#8216;going 0k&#8217;, so there were still a few logs with content in them.\u00a0 So, I checked out the most recent log with any data in it and found an interesting entry &#8211; the last one in fact:<o:p><\/o:p><\/span><font size=\"3\"><font face=\"Calibri\"><span>10\/01\/2007 15:41:43.65 wsstracing.exe (0x0664)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0x07AC ULS Logging\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0 Unified Logging Service\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 uls2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Monitorable\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Not enough free disk space available. The tracing service has temporary stopped outputting trace messages to the log file. Tracing will resume when more than 220 MB of disk space becomes available<\/span><span style=\"font-size: 10pt; font-family: 'Arial','sans-serif'\"><o:p><\/o:p><\/span><\/font><\/font><span style=\"font-size: 10pt; font-family: 'Arial','sans-serif'\">Wow, that&#8217;s hilarious.\u00a0 Not only is SharePoint intelligent enough to know when to hold off on logging so it doesn&#8217;t contribute any further to the obvious issue, but it\u2019s polite enough to tell us about it.\u00a0 I had a good laugh about this, but it gets better.\u00a0\u00a0 <\/span><span style=\"font-size: 10pt; font-family: 'Arial','sans-serif'\"><o:p><\/o:p><\/span><span style=\"font-size: 10pt; font-family: 'Arial','sans-serif'\">I go ahead and clean up what few files I can to get above the 220 MB limit.\u00a0 (yes, there were a few other issues here that should be dealt with &#8211; this particular environment was very constrained for space and the log files should be moved off of the C: drive, etc&#8230;)\u00a0 Then I go back and check the log files.\u00a0 True to its word, not only has SharePoint restarted its logging it\u2019s given us the following message:<\/span><span style=\"font-size: 10pt; font-family: 'Arial','sans-serif'\"><o:p><\/o:p><\/span><span><font size=\"3\"><font face=\"Calibri\">10\/02\/2007 15:29:12.92 wsstracing.exe (0x0664)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0x1030\u00a0 ULS Logging\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0 Unified Logging Service\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 7055\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Information\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 The tracing service has resumed outputting trace messages to the log file.<o:p><\/o:p><\/font><\/font><\/span><span style=\"font-size: 10pt; font-family: 'Arial','sans-serif'\">Fun stuff.<span>\u00a0 <\/span>It made me smile.<span>\u00a0 <\/span><\/span><span style=\"font-size: 10pt; font-family: Wingdings\"><span>J<\/span><\/span><span style=\"font-size: 10pt; font-family: 'Arial','sans-serif'\"> \u00a0 <\/span><span style=\"font-size: 10pt; font-family: 'Arial','sans-serif'\"><o:p><\/o:p><\/span><o:p><font size=\"3\" face=\"Calibri\">\u00a0<\/font><\/o:p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So here&#8217;s a new one to me.\u00a0 I&#8217;ve seen SharePoint logging creating 0k log files in the past &#8211; due to a variety of reasons like service account permissions being [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[11],"tags":[],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-sharepoint"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pgWQ1-k","jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/comments?post=20"}],"version-history":[{"count":0,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/posts\/20\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/media?parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/categories?post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.idubbs.com\/blog\/wp-json\/wp\/v2\/tags?post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}