lfeutre / lmud

An Erlang and LFE MUD/MUSH Server.
Other
24 stars 9 forks source link

Convert stdout messages to log messages #7

Closed oubiwann closed 1 year ago

oubiwann commented 1 year ago

Tasks:

oubiwann commented 1 year ago

I've done this, using the logjam library ... but, for whatever reason, logjam's not running in an OTP release 😢

I'm not able to load the 'logjam.hrl' include file:

===> Compiling apps/lmud/src/lmud-player.lfe failed
/Users/oubiwann/lab/lfe/lmud/apps/lmud/src/lmud-player.lfe:6: can't find include lib logjam/include/logjam.hrl

This is with the following in the lmud rebar.config:

{lfe_opts, [
   {i,"_build/default/lib"},
   {i, "./apps"}
]}.
oubiwann commented 1 year ago

Ah, I was doing compile and release in a single rebar3 do command; when I broke them into separate shell commands, it worked.

oubiwann commented 1 year ago

Done.