witten
/
luminotes
Archived
1
0
Fork 0

Logging to a temp directory instead of the current directory. This allows non-admin/non-root users to run Luminotes Desktop.

This commit is contained in:
Dan Helfman 2008-08-25 16:57:33 -07:00
parent 6ba890c5b0
commit 5badd47fd7
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
import os
import os.path
import cherrypy
from tempfile import gettempdir
settings = {
@ -9,8 +11,8 @@ settings = {
"session_filter.timeout": 60 * 24 * 365, # one year
"static_filter.root": os.getcwd(),
"server.log_to_screen": False,
"server.log_file": "luminotes_error.log",
"server.log_access_file": "luminotes.log",
"server.log_file": os.path.join( gettempdir(), "luminotes_error.log" ),
"server.log_access_file": os.path.join( gettempdir(), "luminotes.log" ),
"server.log_tracebacks": True,
"luminotes.launch_browser": True,
"luminotes.db_host": None, # use local SQLite database