summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-11-21 11:43:44 +0100
committerLinus Nordberg <linus@nordberg.se>2014-11-21 11:43:44 +0100
commitf40d4a258f926614eb49492e1cc905f5f14f7509 (patch)
treed782e8e6a53955bbd9c0362c62ce4db01e9d739f /README.md
parent33381a18f755f3c778211d575e49e94bd2fc7688 (diff)
Have README reflect the current state of logging a bit better.
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files 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