[erlang-questions] Simple Logging
Mon Feb 3 19:20:26 CET 2014
What does it take to get a simple logger running?
- multiple logfiles
- path = "./log/"
- log errors, warnings(!) but no progress reports
I tried the following configuration:
I get errors and progress reports, but no warning or info messages. Stackoverflow says log_mf_h ignores errlog_type.
But I don't find a way to fix this. I know there is the option to write my own gen_event handler, but I don't feel firm enough in Erlang to do that just yet. Existing handlers performed poorly.
How can I implement this simple logger?
PS: Lager is unfortunately not an option as I have to avoid any unnecessary dependencies.
More information about the erlang-questions