Add a game state log dumping facility that produces a (load)able sexpr-log.
[eow] / setup.lisp
index 9fe8ae92c743cf4a46820e071a5a43bc4336e4b2..ee5bacec6c95ea37bca5b6c843c49f3dde3e1fba 100644 (file)
@@ -1,5 +1,12 @@
 (asdf:oos 'asdf:load-op "eow")
-(hunchentoot:start-server :port 4242)
-(setf hunchentoot:*show-lisp-backtraces-p* t)
+;(mb:load "eow")
+;(setf hunchentoot:*message-log-pathname* "/tmp/hunchentoot-message.log")
+;(setf hunchentoot:*access-log-pathname* "/tmp/hunchentoot-access.log")
+(setf *webserver*
+      (hunchentoot:start (make-instance 'hunchentoot:easy-acceptor :port 4242)))
+;; (hunchentoot:stop-server *webserver*)
+;(setf hunchentoot:*show-lisp-backtraces-p* t)
 (setf hunchentoot:*show-lisp-errors-p* t)
 (empire-web:start)
+;(setf *break-on-signals* 'error)
+;(setf *break-on-signals* nil)