Mochiweb Log files

680 views Asked by At

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

3

There are 3 answers

1
Zed On BEST ANSWER

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.

0
Nick Gerakines On

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.

0
mwt On

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

Edit: Never mind, I'm wrong.