<div dir="ltr">Hey Tim,<div><br></div><div style>I&#39;m just kicking the tyres of your lager plugin with my rabbit umbrella.</div><div style><br></div><div style>Admittedly, I&#39;m not an umbrella makefile jedi, so I just cloned your repo into a subdir of my umbrella (maybe this was the mistake). Running make results in the following issue:</div>
<div style><br></div><div style><div>[elided] generate deps</div><div>[elided] fix test deps</div><div>sed -e &#39;s|build/<a href="http://deps.mk">deps.mk</a>|$(DEPS_FILE)|&#39; build/<a href="http://deps.mk">deps.mk</a> &gt; build/deps.mk.tmp &amp;&amp; mv build/deps.mk.tmp build/<a href="http://deps.mk">deps.mk</a></div>
<div>rm -rf ./rabbitmq-lager-git</div><div>git clone <a href="http://github.com/basho/lager.git">http://github.com/basho/lager.git</a> ./rabbitmq-lager-git</div><div>Cloning into &#39;./rabbitmq-lager-git&#39;...</div><div>
remote: Counting objects: 1822, done.</div><div>remote: Compressing objects: 100% (576/576), done.</div><div>remote: Total 1822 (delta 1330), reused 1709 (delta 1224)</div><div>Receiving objects: 100% (1822/1822), 713.54 KiB | 137 KiB/s, done.</div>
<div>Resolving deltas: 100% (1330/1330), done.</div><div># Work around weird github breakage (bug 25264)</div><div>cd ./rabbitmq-lager-git &amp;&amp; git pull</div><div>Already up-to-date.</div><div>cd ./rabbitmq-lager-git &amp;&amp; git checkout 9719370eeaf8b64c1c3e79fb7052cb1ca29f16c8</div>
<div>Note: checking out &#39;9719370eeaf8b64c1c3e79fb7052cb1ca29f16c8&#39;.</div><div><br></div><div>You are in &#39;detached HEAD&#39; state. You can look around, make experimental</div><div>changes and commit them, and you can discard any commits you make in this</div>
<div>state without impacting any branches by performing another checkout.</div><div><br></div><div>If you want to create a new branch to retain commits you create, you may</div><div>do so (now or later) by using -b with the checkout command again. Example:</div>
<div><br></div><div>� git checkout -b new_branch_name</div><div><br></div><div>HEAD is now at 9719370... Merge pull request #120 from basho/adt-msg-has-datetime</div><div>touch rabbitmq-lager-git/.done</div><div>echo UPSTREAM_SHORT_HASH:=`git --git-dir=./rabbitmq-lager-git/.git log -n 1 HEAD | grep commit | cut -b 8-14` &gt;<a href="http://hash.mk">hash.mk</a></div>
<div>sed -n -e &#39;s|^.*{vsn, *&quot;\([^&quot;]*\)&quot;.*$|ORIGINAL_VERSION:=\1|p&#39; &lt;rabbitmq-lager-git/src/lager.app.src &gt;build/<a href="http://version.mk">version.mk</a></div><div>[elided] generate deps</div>
<div>/bin/sh: escript: command not found</div><div>rm -rf build/dep-ezs</div><div>mkdir -p build/dep-ezs</div><div>[elided] copy dependent ezs</div><div>touch build/dep-ezs/.done</div><div>rm -rf build/dep-apps</div><div>
mkdir -p build/dep-apps</div><div>[elided] unzip ezs</div><div>touch build/dep-apps/.done</div><div>make: *** No rule to make target `build/<a href="http://deps.mk">deps.mk</a>&#39;, needed by `ebin/error_logger_lager_h.beam&#39;. �Stop.</div>
</div><div style><br></div><div style>Should I maybe have created a my own subdir that points to your repo by setting the�UPSTREAM_GIT variable?</div><div style><br></div><div style>Cheers,</div><div style><br></div><div style>
Ben</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 27, 2013 at 10:03 AM, Tim Watson <span dir="ltr">&lt;<a href="mailto:tim@rabbitmq.com" target="_blank">tim@rabbitmq.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If anyone wants to try this plugin out, there are instructions in the README file on github now. You&#39;ll need at least R14B03 to use lager afaict. Please shout if you run into any difficulties.<br>

<br>
Cheers,<br>
Tim<br>
<div class="HOEnZb"><div class="h5"><br>
On 27 Mar 2013, at 00:19, Ben Hood wrote:<br>
<br>
&gt; On Tuesday, 26 March 2013 at 15:53, Tim Watson wrote:<br>
&gt;&gt; I have set up an experimental repository at <a href="https://github.com/hyperthunk/rabbitmq-lager" target="_blank">https://github.com/hyperthunk/rabbitmq-lager</a> that supports logging to lager via its built in error_logger redirection. You enable via `rabbitmq-plugins enable lager` and configure it in the RabbitMQ config file just like any other plugin, under the key &#39;lager&#39;. In the morning I&#39;ll chat with the guys about integrating this as experimental plugin for the time being, so people can play around and see if it offers the required functionality.<br>

&gt; Very cool - nice one Tim!<br>
</div></div><div class="HOEnZb"><div class="h5">&gt; _______________________________________________<br>
&gt; rabbitmq-discuss mailing list<br>
&gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt; <a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br></div>