1

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

ewindsor
  • 885
  • 10
  • 24

3 Answers3

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
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