<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Logging bash history to syslog using traps</title>
	<atom:link href="http://backdrift.org/logging-bash-history-to-syslog-using-traps/feed" rel="self" type="application/rss+xml" />
	<link>http://backdrift.org/logging-bash-history-to-syslog-using-traps</link>
	<description></description>
	<lastBuildDate>Sat, 21 Jan 2012 13:22:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: David Douthitt</title>
		<link>http://backdrift.org/logging-bash-history-to-syslog-using-traps/comment-page-1#comment-929</link>
		<dc:creator>David Douthitt</dc:creator>
		<pubDate>Wed, 18 May 2011 19:57:12 +0000</pubDate>
		<guid isPermaLink="false">http://backdrift.org/?p=234#comment-929</guid>
		<description>Job control should not be affected - at least, I don&#039;t know why it would be. The function log2syslog doesn&#039;t actually execute the command, but rather sends a copy of the last history output to syslog.

Where this would fail is if the DEBUG trap is ever skipped - or skippable. Also, if the trap can be changed by the user, then this function can be removed.

The ideal way is to modify the source code or to enable the log to syslog capabilities of Bash 4.1.

http://wiki.bash-hackers.org/bash4</description>
		<content:encoded><![CDATA[<p>Job control should not be affected &#8211; at least, I don&#8217;t know why it would be. The function log2syslog doesn&#8217;t actually execute the command, but rather sends a copy of the last history output to syslog.</p>
<p>Where this would fail is if the DEBUG trap is ever skipped &#8211; or skippable. Also, if the trap can be changed by the user, then this function can be removed.</p>
<p>The ideal way is to modify the source code or to enable the log to syslog capabilities of Bash 4.1.</p>
<p><a href="http://wiki.bash-hackers.org/bash4" rel="nofollow">http://wiki.bash-hackers.org/bash4</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Reiber</title>
		<link>http://backdrift.org/logging-bash-history-to-syslog-using-traps/comment-page-1#comment-433</link>
		<dc:creator>Paul Reiber</dc:creator>
		<pubDate>Fri, 05 Nov 2010 06:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://backdrift.org/?p=234#comment-433</guid>
		<description>If you&#039;re used to using ^Z, bg, fg, etc. you&#039;ll find this cumbersome, as those stop working.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re used to using ^Z, bg, fg, etc. you&#8217;ll find this cumbersome, as those stop working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timo Juhani Lindfors</title>
		<link>http://backdrift.org/logging-bash-history-to-syslog-using-traps/comment-page-1#comment-350</link>
		<dc:creator>Timo Juhani Lindfors</dc:creator>
		<pubDate>Mon, 14 Jun 2010 09:36:52 +0000</pubDate>
		<guid isPermaLink="false">http://backdrift.org/?p=234#comment-350</guid>
		<description>If you just hit enter multiple times the log claims that you actually executed the command multiple times too. Any suggestions on how to improve this?</description>
		<content:encoded><![CDATA[<p>If you just hit enter multiple times the log claims that you actually executed the command multiple times too. Any suggestions on how to improve this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  backdrift.org/logging-bash-history-to-syslog-using-traps/feed ) in 0.32070 seconds, on Feb 5th, 2012 at 2:43 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 5th, 2012 at 3:43 pm UTC -->
