[rabbitmq-discuss] lager vs sasl error log

Ben Hood 0x6e6562 at gmail.com
Thu Mar 28 02:03:41 GMT 2013


Hey Tim,

I'm just kicking the tyres of your lager plugin with my rabbit umbrella.

Admittedly, I'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:

[elided] generate deps
[elided] fix test deps
sed -e 's|build/deps.mk|$(DEPS_FILE)|' build/deps.mk > build/deps.mk.tmp &&
mv build/deps.mk.tmp build/deps.mk
rm -rf ./rabbitmq-lager-git
git clone http://github.com/basho/lager.git ./rabbitmq-lager-git
Cloning into './rabbitmq-lager-git'...
remote: Counting objects: 1822, done.
remote: Compressing objects: 100% (576/576), done.
remote: Total 1822 (delta 1330), reused 1709 (delta 1224)
Receiving objects: 100% (1822/1822), 713.54 KiB | 137 KiB/s, done.
Resolving deltas: 100% (1330/1330), done.
# Work around weird github breakage (bug 25264)
cd ./rabbitmq-lager-git && git pull
Already up-to-date.
cd ./rabbitmq-lager-git && git checkout
9719370eeaf8b64c1c3e79fb7052cb1ca29f16c8
Note: checking out '9719370eeaf8b64c1c3e79fb7052cb1ca29f16c8'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 9719370... Merge pull request #120 from
basho/adt-msg-has-datetime
touch rabbitmq-lager-git/.done
echo UPSTREAM_SHORT_HASH:=`git --git-dir=./rabbitmq-lager-git/.git log -n 1
HEAD | grep commit | cut -b 8-14` >hash.mk
sed -n -e 's|^.*{vsn, *"\([^"]*\)".*$|ORIGINAL_VERSION:=\1|p'
<rabbitmq-lager-git/src/lager.app.src >build/version.mk
[elided] generate deps
/bin/sh: escript: command not found
rm -rf build/dep-ezs
mkdir -p build/dep-ezs
[elided] copy dependent ezs
touch build/dep-ezs/.done
rm -rf build/dep-apps
mkdir -p build/dep-apps
[elided] unzip ezs
touch build/dep-apps/.done
make: *** No rule to make target `build/deps.mk', needed by
`ebin/error_logger_lager_h.beam'.  Stop.

Should I maybe have created a my own subdir that points to your repo by
setting the UPSTREAM_GIT variable?

Cheers,

Ben



On Wed, Mar 27, 2013 at 10:03 AM, Tim Watson <tim at rabbitmq.com> wrote:

> If anyone wants to try this plugin out, there are instructions in the
> README file on github now. You'll need at least R14B03 to use lager afaict.
> Please shout if you run into any difficulties.
>
> Cheers,
> Tim
>
> On 27 Mar 2013, at 00:19, Ben Hood wrote:
>
> > On Tuesday, 26 March 2013 at 15:53, Tim Watson wrote:
> >> I have set up an experimental repository at
> https://github.com/hyperthunk/rabbitmq-lager 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 'lager'. In the morning I'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.
> > Very cool - nice one Tim!
> > _______________________________________________
> > rabbitmq-discuss mailing list
> > rabbitmq-discuss at lists.rabbitmq.com
> > https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130327/da7d6bbf/attachment.htm>


More information about the rabbitmq-discuss mailing list