Question

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

Was it helpful?

Solution

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.

OTHER TIPS

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

Edit: Never mind, I'm wrong.

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top