<div dir="ltr">Also if you put in your relx.config:<br><br><br>{sys_config, "./config/sys.config"}.<br><br>and create ./config/sys.config:<br><br><br>[<br><br>{sasl, [<br>    {sasl_error_logger, {file, "log/sasl.log"}},<br>    {errlog_type, all},<br>    {error_logger_mf_dir, "log"}, % Log directory<br>    {error_logger_mf_maxbytes, 10485760}, % 10 MB max file size<br>    {error_logger_mf_maxfiles, 5} % 5 files max<br>]}<br><br>].<br><br>you will get additional sasl features like log rotation<br><br>On Thursday, April 3, 2014 11:33:29 AM UTC+4, Daniil Churikov wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Here is my relx.config:<br><br><br>{release, {app_name, "0.0.1"}, [app_name, sasl]}.                       <wbr>                              <wbr>                              <wbr>                              <wbr>                              <wbr>                     <br>{extended_start_script, true}.                        <wbr>                              <wbr>                              <wbr>                              <wbr>                              <wbr>                              <wbr>         <br><br><br>If you add sasl, you can see more verbose logs in _rel/log/ directory<br><br><br>On Wednesday, April 2, 2014 3:59:17 PM UTC+4, t x wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,
<br>
<br>
<br>## context:
<br>
<br>  * I'm using <a href="http://erlang.mk" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Ferlang.mk\46sa\75D\46sntz\0751\46usg\75AFQjCNGLZ011b_fAMd_QBvKZe0moRbYTSg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Ferlang.mk\46sa\75D\46sntz\0751\46usg\75AFQjCNGLZ011b_fAMd_QBvKZe0moRbYTSg';return true;">erlang.mk</a> + relx
<br>
<br>  * I'm running my erlang apps as one of the following:
<br>      _rel/bin/app_name start
<br>      _rel/bin/app_name console
<br>
<br>  * what I like about "_rel/bin/app_name start" <-- I feel like this
<br>is the right way for production use
<br>
<br>  * what I like about "_rel/bin/app_name console" <-- I get noisy
<br>failures (i.e. when something goes wrong, it floods stdout
<br>
<br>
<br>## what I want:
<br>
<br>  I want to use "_rel/bin/app_name start", yet get the same level of
<br>errors/warnings/assertions as I do when I run it as "_rel/bin/app_name
<br>console"
<br>
<br>
<br>## what I have tried:
<br>
<br>  * _rel/bin/app_name start
<br>  * _rel/bin/app_name remote_console
<br>
<br>  However, "start + remote_console" does not seem to get me the same
<br>amount of errors as I do from "console".
<br>
<br>
<br>## question:
<br>
<br>  Is there a wya to use start + remote_console, yet get the same level
<br>of errors / warnings as with "console"?
<br>
<br>Thanks!
<br>______________________________<wbr>_________________
<br>erlang-questions mailing list
<br><a>erlang-q...@erlang.org</a>
<br><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Ferlang.org%2Fmailman%2Flistinfo%2Ferlang-questions\46sa\75D\46sntz\0751\46usg\75AFQjCNH15VBDH9qL9o1Zx3x6ZeLmwvUvTg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Ferlang.org%2Fmailman%2Flistinfo%2Ferlang-questions\46sa\75D\46sntz\0751\46usg\75AFQjCNH15VBDH9qL9o1Zx3x6ZeLmwvUvTg';return true;">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a>
<br></blockquote></div></blockquote></div>