From f40d4a258f926614eb49492e1cc905f5f14f7509 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 21 Nov 2014 11:43:44 +0100 Subject: Have README reflect the current state of logging a bit better. --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e344bd5..ec4e428 100644 --- a/README.md +++ b/README.md @@ -21,14 +21,12 @@ A compiled https://github.com/mochi/mochiweb (for web server functionality) in . # Logs and traces -As configured in httpd_props.conf, logs can be found in -catlfish/webroot/log in the rel directory. +Logs can be found in log/. -To enable a crazy amount of tracing information from inets, do +The amount of log sent to the console can be adjusted at runtime using - 1> inets_trace:enable(max, io). + lager:set_loglevel(lager_console_backend, NewLevel). -# To do +where ''NewLevel'' is one of -- Stop using inets httpd mod_esi and make catlfish a proper - application. + debug, info, notice, warning, error, critical, alert, emergency -- cgit v1.1