0
I like Emacs and Erlang too; I have set-up the erlang-mode
and distel
properly.
In my project,when dealing with the log,it doesn't show the
=ERROR REPORT==== 15-Sep-2012::14:09:30 ===
in the erlang-shell.
However in Windows it works. but, I like to develop on Ubuntu. Could anyone give me some advice on how to get it to work?
Did you try to log something on Linux using the Erlang shell? – None – 2012-09-17T07:05:25.317
[ {sasl, [
{sasl_error_logger, false},
{errlog_type, error},
{error_logger_mf_dir, "./logs"}, %% dirs {error_logger_mf_maxbytes, 1048760}, %% 10M per log file.
{error_logger_mf_maxfiles, 10} %% maxinum number of 10 ] } ] this is my sasl config – algking – 2012-09-18T04:09:51.730
i can only get the log in my log file . In emacs using the erlang-shell-mode , when input the error_logger:error_msg("some_msg"). the erlang-shell can output someting like Eshell V5.9 (abort with ^G) 1> error_logger:error_msg("sdfsdf"). ok 2> =ERROR REPORT==== 18-Sep-2012::12:05:50 === sdfsdf2> but in my application just output ok: (algking@127.0.0.1)11> error_logger:error_msg("sdfsdf"). ok – algking – 2012-09-18T04:10:32.210