views:

119

answers:

3
+1  Q: 

Mochiweb Log files

Anyone know where Mochiweb logs files by default? I'm running it along with the Beepbeep framework.

A: 

Aren't they kept in the priv directory next to mochiweb's start script?

Edit: Never mind, I'm wrong.

mwt
A: 

Mochiweb reports errors via the error_logger, so you can either write your own handler, or start SASL, and configure it to write a log file.

Zed
To start SASL in current VM add `-boot start_sasl` to parameters of the `erl`
gleber
A: 

Mochiweb does not create log files as you would think it would. If you want to have apache-like logs, you'll have to roll your own.

Nick Gerakines