<div>Hi Jakub</div><div><br></div><div><div class="gmail_quote"><div>So because of 2 (I'm on windows), only old-shell is available and thus I can't get messages in the console :-/ ???</div><div><br></div><div>How people debug things in the console then?</div><div><br></div><div>/Frank</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_msg"><div class="gmail_msg">Hi,</div>It's always good to look at the code:<div class="gmail_msg"><br class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg">is_new_style_console_available() -></div><div class="gmail_msg">    %% Criteria:</div><div class="gmail_msg">    %% 1. If the user has specified '-noshell' on the command line,</div><div class="gmail_msg">    %%    then we will pretend that the new-style console is available.</div><div class="gmail_msg">    %%    If there is no shell at all, then we don't have to worry</div><div class="gmail_msg">    %%    about log events being blocked by the old-style shell.</div><div class="gmail_msg">    %% 2. Windows doesn't support the new shell, so all windows users</div><div class="gmail_msg">    %%    have is the oldshell.</div><div class="gmail_msg">    %% 3. If the user_drv process is registered, all is OK.</div><div class="gmail_msg">    %%    'user_drv' is a registered proc name used by the "new"</div><div class="gmail_msg">    %%    console driver.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">[...]</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><div class="gmail_msg">try {is_new_style_console_available(), lager_util:config_to_mask(Level)} of</div><div class="gmail_msg">        {false, _} -></div><div class="gmail_msg">            Msg = "Lager's console backend is incompatible with the 'old' shell, not enabling it",</div></div></div></div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg">2017-04-10 22:19 GMT+02:00 Frank Muller <span class="gmail_msg"><<a href="mailto:frank.muller.erl@gmail.com" class="gmail_msg" target="_blank">frank.muller.erl@gmail.com</a>></span>:<br class="gmail_msg"></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_msg"><span style="font-family:UICTFontTextStyleBody" class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg">Hi,</span><br style="font-family:UICTFontTextStyleBody" class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg"><span style="font-family:UICTFontTextStyleBody" class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg"></span><br style="font-family:UICTFontTextStyleBody" class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg"><span style="font-family:UICTFontTextStyleBody" class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg">I’m using Lager in a basic Erlang app on Windows 7 (and even 10).</span><div class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg"><br style="font-family:UICTFontTextStyleBody" class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg"><span style="font-family:UICTFontTextStyleBody" class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg">Whenever I activate the console backend, I get this warning message:</span><br style="font-family:UICTFontTextStyleBody" class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg"><blockquote type="cite" style="font-family:UICTFontTextStyleBody" class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg">> WARNING: Lager's console backend is incompatible with the 'old' shell, not enabling it<br class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg"></blockquote><span style="font-family:UICTFontTextStyleBody" class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg"></span><br style="font-family:UICTFontTextStyleBody" class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg"><span style="font-family:UICTFontTextStyleBody" class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg">Can someone explain me what does it mean and how I can fix it?</span></div></div><span class="m_-1373492034033861705HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"><div class="gmail_msg"><div class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg"><br style="font-family:UICTFontTextStyleBody" class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg"><span style="font-family:UICTFontTextStyleBody" class="m_-1373492034033861705m_1589545978893107046gmail_msg gmail_msg">/Frank</span></div></div>
</font></span><br class="gmail_msg"></blockquote></div></div><div class="gmail_extra gmail_msg"><div class="gmail_quote gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br class="gmail_msg">
erlang-questions mailing list<br class="gmail_msg">
<a href="mailto:erlang-questions@erlang.org" class="gmail_msg" target="_blank">erlang-questions@erlang.org</a><br class="gmail_msg">
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" class="gmail_msg" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br class="gmail_msg">
<br class="gmail_msg"></blockquote></div><br class="gmail_msg"></div>
</blockquote></div></div>