<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/log</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 19:19:18 GMT</pubDate>
<item>
<title>(JavaScript) Safe console.log usage in all browsers - bitsculptor</title>
<link>http://snipplr.com/view/71283/safe-consolelog-usage-in-all-browsers/</link>
<description><![CDATA[ <p>IE doesn't like console.log. This fixes that.</p> ]]></description>
<pubDate>Fri, 24 May 2013 00:36:30 GMT</pubDate>
<guid>http://snipplr.com/view/71283/safe-consolelog-usage-in-all-browsers/</guid>
</item>
<item>
<title>(Bash) Multiple logs - XtreamIT</title>
<link>http://snipplr.com/view/69191/multiple-logs/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 21 Dec 2012 07:41:31 GMT</pubDate>
<guid>http://snipplr.com/view/69191/multiple-logs/</guid>
</item>
<item>
<title>(PHP) Debug log to File - davidlukerice</title>
<link>http://snipplr.com/view/69106/debug-log-to-file/</link>
<description><![CDATA[ <p>Also tries to log with elgg (Used when testing elgg plugins).
Just remove the or elgg_log(...) if not using it.</p> ]]></description>
<pubDate>Fri, 14 Dec 2012 09:36:17 GMT</pubDate>
<guid>http://snipplr.com/view/69106/debug-log-to-file/</guid>
</item>
<item>
<title>(JavaScript) Generic Handler (Event logging in Console) - dejot</title>
<link>http://snipplr.com/view/67969/generic-handler-event-logging-in-console/</link>
<description><![CDATA[ <p>generischer Handler für die Eventausgabe in der Konsole....</p> ]]></description>
<pubDate>Fri, 26 Oct 2012 18:36:28 GMT</pubDate>
<guid>http://snipplr.com/view/67969/generic-handler-event-logging-in-console/</guid>
</item>
<item>
<title>(PHP) Simple logger function - MikeDevDes</title>
<link>http://snipplr.com/view/67708/simple-logger-function/</link>
<description><![CDATA[ <p>Simple logger function</p> ]]></description>
<pubDate>Fri, 12 Oct 2012 21:38:07 GMT</pubDate>
<guid>http://snipplr.com/view/67708/simple-logger-function/</guid>
</item>
<item>
<title>(C#) Write to the Event Log C# - Verician</title>
<link>http://snipplr.com/view/67389/write-to-the-event-log-c/</link>
<description><![CDATA[ <p>Output your errors to the Windows event log. Very effective to output from try catch blocks.</p> ]]></description>
<pubDate>Wed, 26 Sep 2012 23:16:35 GMT</pubDate>
<guid>http://snipplr.com/view/67389/write-to-the-event-log-c/</guid>
</item>
<item>
<title>(Python) make and filter the log file into a html file - scrapy</title>
<link>http://snipplr.com/view/66991/make-and-filter-the-log-file-into-a-html-file/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 01 Sep 2012 07:15:08 GMT</pubDate>
<guid>http://snipplr.com/view/66991/make-and-filter-the-log-file-into-a-html-file/</guid>
</item>
<item>
<title>(DOS Batch) Clear Windows 7 Event Log - Rectifier</title>
<link>http://snipplr.com/view/65884/clear-windows-7-event-log/</link>
<description><![CDATA[ <p>This is a simple batch script to clear the event logs from a windows 7 or server 2008 machine. The script does *not* save these logs. This was tested on a local machine but could be adapted for remote use.</p> ]]></description>
<pubDate>Sun, 01 Jul 2012 03:42:51 GMT</pubDate>
<guid>http://snipplr.com/view/65884/clear-windows-7-event-log/</guid>
</item>
<item>
<title>(Java) Logging - robyy</title>
<link>http://snipplr.com/view/65607/logging/</link>
<description><![CDATA[ <p>Now you are ready to log to your heart’s content. Keep in mind that all messages 
with level INFO, WARNING, and SEVERE show up on the console. Therefore, reserve these 
levels for messages that are meaningful to the users of your program. The level FINE
is a good choice for logging messages that are intended for programmers.
Whenever you are tempted to call System.out.println, emit a log message instead:
logger.fine("File open dialog canceled");
It is also a good idea to log unexpected exceptions. For example:
try
{
   . . .
}
catch (SomeException e)
{
   logger.log(Level.FINE, "explanation", e);
}</p> ]]></description>
<pubDate>Thu, 14 Jun 2012 03:52:58 GMT</pubDate>
<guid>http://snipplr.com/view/65607/logging/</guid>
</item>
<item>
<title>(Bash) Tail Apache logs - inreflection7</title>
<link>http://snipplr.com/view/65296/tail-apache-logs/</link>
<description><![CDATA[ <p>It can be useful to take a peek at what Apache is doing but I always forget the location of the Apache logs so I can use tail.</p> ]]></description>
<pubDate>Fri, 01 Jun 2012 00:42:26 GMT</pubDate>
<guid>http://snipplr.com/view/65296/tail-apache-logs/</guid>
</item>
<item>
<title>(Bash) java commons logging - httpclient - simpleLog - rowntreerob</title>
<link>http://snipplr.com/view/62762/java-commons-logging--httpclient--simplelog/</link>
<description><![CDATA[ <p>For impl of 'simpleLog', in eclipse, the default instructions did not work for me , providing LEVEL_ALL logs until i added one additional prop not mentioned in the link</p> ]]></description>
<pubDate>Wed, 25 Jan 2012 03:54:46 GMT</pubDate>
<guid>http://snipplr.com/view/62762/java-commons-logging--httpclient--simplelog/</guid>
</item>
<item>
<title>(JavaScript) Manage console.log on IE - Simounet</title>
<link>http://snipplr.com/view/62311/manage-consolelog-on-ie/</link>
<description><![CDATA[ <p>Helps to manage console.log debug in js when broswing in IE. If alertFallback is enabled, you can see js alerts appears of vars tracked.</p> ]]></description>
<pubDate>Thu, 05 Jan 2012 03:10:38 GMT</pubDate>
<guid>http://snipplr.com/view/62311/manage-consolelog-on-ie/</guid>
</item>
<item>
<title>(C#) Simple Instance Of Log4Net Logger - MysteryMeat</title>
<link>http://snipplr.com/view/60056/simple-instance-of-log4net-logger/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 21 Oct 2011 23:30:53 GMT</pubDate>
<guid>http://snipplr.com/view/60056/simple-instance-of-log4net-logger/</guid>
</item>
<item>
<title>(JavaScript) Console.log function with error detection and debug mode - psradich111</title>
<link>http://snipplr.com/view/58048/consolelog-function-with-error-detection-and-debug-mode/</link>
<description><![CDATA[ <p>will not fail if no console is detected (IE). Debug set o false will disable console output</p> ]]></description>
<pubDate>Sat, 20 Aug 2011 03:32:57 GMT</pubDate>
<guid>http://snipplr.com/view/58048/consolelog-function-with-error-detection-and-debug-mode/</guid>
</item>
<item>
<title>(C#) EventLoggingInterface - BrentS</title>
<link>http://snipplr.com/view/57313/eventlogginginterface/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 29 Jul 2011 08:25:48 GMT</pubDate>
<guid>http://snipplr.com/view/57313/eventlogginginterface/</guid>
</item>
<item>
<title>(PHP) CakePHP: SQL-log in array (for controller, e.g.) - kentandre</title>
<link>http://snipplr.com/view/55590/cakephp-sqllog-in-array-for-controller-eg/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 22 Jun 2011 23:12:41 GMT</pubDate>
<guid>http://snipplr.com/view/55590/cakephp-sqllog-in-array-for-controller-eg/</guid>
</item>
<item>
<title>(PHP) Write server load to logfile per day - remko</title>
<link>http://snipplr.com/view/54573/write-server-load-to-logfile-per-day/</link>
<description><![CDATA[ <p>Tiny script to write a daily logfile with the serverload. Can be run every X minutes using a cron for example. 

Result in logfile:

13.40 | 2.45      2.45      2.43

13.45 | 1.62      2.02      2.25</p> ]]></description>
<pubDate>Sun, 29 May 2011 21:55:56 GMT</pubDate>
<guid>http://snipplr.com/view/54573/write-server-load-to-logfile-per-day/</guid>
</item>
<item>
<title>(Bash) git log blame for most recent commit - root_hacker</title>
<link>http://snipplr.com/view/54315/git-log-blame-for-most-recent-commit/</link>
<description><![CDATA[ <p>run this in git bash to see a pretty blame</p> ]]></description>
<pubDate>Tue, 24 May 2011 16:34:28 GMT</pubDate>
<guid>http://snipplr.com/view/54315/git-log-blame-for-most-recent-commit/</guid>
</item>
<item>
<title>(JavaScript) Console.log Detection - alvincrespo</title>
<link>http://snipplr.com/view/52591/consolelog-detection/</link>
<description><![CDATA[ <p>Basically creates a log function on the window object and uses console.log or alert depending on which is supported. Very basic and simple but definitely useful.</p> ]]></description>
<pubDate>Tue, 26 Apr 2011 15:02:19 GMT</pubDate>
<guid>http://snipplr.com/view/52591/consolelog-detection/</guid>
</item>
<item>
<title>(JavaScript) console.log() - Textmate snippet - divtagged</title>
<link>http://snipplr.com/view/51906/consolelog--textmate-snippet/</link>
<description><![CDATA[ <p>Activation: con
Scope: source.js, source.js.jquery</p> ]]></description>
<pubDate>Mon, 11 Apr 2011 08:29:49 GMT</pubDate>
<guid>http://snipplr.com/view/51906/consolelog--textmate-snippet/</guid>
</item>
</channel>
</rss>