<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - noah</title>
<link>http://snipplr.com/users/noah/tags/logging</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 15 Feb 2012 10:06:33 GMT</pubDate>
<item>
<title>(Ruby) Howto set up a Rake task to clean out old temp files and logfiles</title>
<link>http://snipplr.com/view/27987/howto-set-up-a-rake-task-to-clean-out-old-temp-files-and-logfiles/</link>
<description><![CDATA[ <p>If you don't see a particular extension in the CLEAN list, test before you add it.  Common temporary file extensions like `~` are cleaned by default.</p> ]]></description>
<pubDate>Mon, 08 Feb 2010 21:56:37 GMT</pubDate>
<guid>http://snipplr.com/view/27987/howto-set-up-a-rake-task-to-clean-out-old-temp-files-and-logfiles/</guid>
</item>
<item>
<title>(Bash) Log4r: how to use RollingFileOutputter: automatically cycle stale logfiles</title>
<link>http://snipplr.com/view/26962/log4r-how-to-use-rollingfileoutputter-automatically-cycle-stale-logfiles/</link>
<description><![CDATA[ <p>(Log4r::RollingFileOutputter)(http://log4r.sourceforge.net/rdoc/files/log4r/formatter/formatter_rb.html) automatically renames/archives log files once they get too big or too old.

This is not my code, I found it [in Google's cache](http://74.125.93.132/search?q=cache:NH-CfIj0MhQJ:omf.mytestbed.net/repositories/entry/omf/branches/reorg/log4r-1.0.5/examples/fileroll.rb%3Fformat%3Draw%26rev%3D89+log4r+rollingfileoutputter) and I found it useful, so I figured I should preserve it.  If you're the author, get in touch and I'll credit/link you (and thanks!)</p> ]]></description>
<pubDate>Sun, 24 Jan 2010 15:18:50 GMT</pubDate>
<guid>http://snipplr.com/view/26962/log4r-how-to-use-rollingfileoutputter-automatically-cycle-stale-logfiles/</guid>
</item>
<item>
<title>(Bash) List commands in history, sorted by usage</title>
<link>http://snipplr.com/view/6135/list-commands-in-history-sorted-by-usage/</link>
<description><![CDATA[ <p>Lists the top 10 commands in your history file.

Thanks Ben!

Here's an example session:

    May12 10:39:18 book> ~/Documents/n_s/tools/command-history.sh
    162 quite
    110 svn
    107 ruby
    61 curl
    39 rwget
    34 grep
    33 cd
    21 lwp-request
    19 fg
    17 ls</p> ]]></description>
<pubDate>Tue, 06 May 2008 15:24:05 GMT</pubDate>
<guid>http://snipplr.com/view/6135/list-commands-in-history-sorted-by-usage/</guid>
</item>
<item>
<title>(Emacs Lisp) Make numbered backups</title>
<link>http://snipplr.com/view/2782/make-numbered-backups/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 02 Jun 2007 00:37:29 GMT</pubDate>
<guid>http://snipplr.com/view/2782/make-numbered-backups/</guid>
</item>
<item>
<title>(Emacs Lisp) Persistent.el configuration</title>
<link>http://snipplr.com/view/2781/persistentel-configuration/</link>
<description><![CDATA[ <p>Configure the Persistent.el module.  Persistent.el allows emacs to remember command histories across sessions.</p> ]]></description>
<pubDate>Sat, 02 Jun 2007 00:34:17 GMT</pubDate>
<guid>http://snipplr.com/view/2781/persistentel-configuration/</guid>
</item>
<item>
<title>(Emacs Lisp) Kill-Ring and mini-buffer history size</title>
<link>http://snipplr.com/view/2780/killring-and-minibuffer-history-size/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 02 Jun 2007 00:32:01 GMT</pubDate>
<guid>http://snipplr.com/view/2780/killring-and-minibuffer-history-size/</guid>
</item>
<item>
<title>(Emacs Lisp) Command to reload .emacs and save history with Persistent.el</title>
<link>http://snipplr.com/view/2774/command-to-reload-emacs-and-save-history-with-persistentel/</link>
<description><![CDATA[ <p>Reload the .emacs file with a minimum of effort, first saving histories with Persistent.  Requires the Persistent.el module.</p> ]]></description>
<pubDate>Fri, 01 Jun 2007 16:58:40 GMT</pubDate>
<guid>http://snipplr.com/view/2774/command-to-reload-emacs-and-save-history-with-persistentel/</guid>
</item>
</channel>
</rss>
