<div dir="ltr"><div>See if you are using any log formatters or handlers -- those may not be direct dependencies of your application, and therefore do not get included in the final release. You will need to add these dependencies to the release independently so that they are present to run and handle output.</div><div><br></div><div>The rebar3 shell and other interactive modes can dynamically load libraries from disk and won't show that little gotcha at all.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 25, 2019 at 1:47 PM Mark Geib <<a href="mailto:mark.geib.44@gmail.com">mark.geib.44@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I have a problem where I see no logger output in a release built with rebar3 using the new ?LOG macros. If I use the logger: functions<br>
everything is working fine. Decided to change to use the macros in order to get able to include MFA, line number, etc. in templates.<br>
<br>
Also, doing a dev release build and then running interactively everything works fine with the ?LOG macros. It’s like the<br>
prod builds are missing something compared to dev build.<br>
<br>
Thanks in advance for any help.<br>
<br>
Mark.<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>