These are chat archives for synrc/n2o

14th
Jun 2016
Roman
@AstRonin
Jun 14 2016 06:07
балансер добавил :)
Matti Katila
@mudyc
Jun 14 2016 15:35
I have io:format but I cannot see debug messages anywhere. i started the app with mad, should I give mad some option to see logs or is there separate file somewhere?
Roman
@AstRonin
Jun 14 2016 15:40
Maybe this module is not working at this moment...
Matti Katila
@mudyc
Jun 14 2016 15:58
when I do changes mad says compiling and Active: module loaded
however I get status: 500 server error when I try to access the url
Roman
@AstRonin
Jun 14 2016 16:03
Yes, I mean request does not achieve to actual module or function...
Matti Katila
@mudyc
Jun 14 2016 16:15
in cowboy_router:compile i have { "/indexes", map_index, [] } ; then i have module with that name and export([init/2]). then one function which is init(Req, Opts) -> what could go wrong?
Matti Katila
@mudyc
Jun 14 2016 16:20
i think it is similar to what cowboy example suggest https://github.com/ninenines/cowboy/tree/master/examples/echo_get/src