Anyone know where Mochiweb logs files by default? I'm running it along with the Beepbeep framework.
Asked
Active
Viewed 666 times
3 Answers
0
Aren't they kept in the priv directory next to mochiweb's start script?
Edit: Never mind, I'm wrong.

mwt
- 697
- 1
- 6
- 14
0
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
- 57,028
- 9
- 76
- 100
-
To start SASL in current VM add `-boot start_sasl` to parameters of the `erl` – gleber Nov 30 '09 at 11:37
0
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
- 1,432
- 1
- 11
- 20