Did you compile your modules with {parse_transform, lager_transform}
(usually set in the rebar.config)? How are you starting the application?On Fri, Nov 1, 2013 at 8:54 PM, Jack Shen <[email protected]> wrote: > hi, Sean > I use lager and mochiweb in my application. I can get debug message > when i run application in terminate. But no "debug" message in > log/console.log file when i run application as backend. there is "info" , > "warning" info in log/console.log, just like below: > > *2013-11-01 00:39:12.483 [info] <0.6.0> Application web_app started on > node '[email protected] <[email protected]>'* > > > I have set lager_file_backend as debug level in app.config. my app.config > as below: > > {lager, [ > {handlers, [ > {lager_console_backend, debug}, > {lager_file_backend, [{file, "error.log"}, {level, error}]}, > {lager_file_backend, [{file, "console.log"}, {level, debug}]} > ]} > ]}. > > Why it? can you help me? > > Thanks very much! > > -Jack > > -- Sean Cribbs <[email protected]> Software Engineer Basho Technologies, Inc. http://basho.com/
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
