possibility to define ERROR_LOG

This commit is contained in:
Frédéric Péters 2005-08-16 10:06:23 +00:00
parent abd84d0348
commit f0e6d0d6cc
2 changed files with 3 additions and 1 deletions

View File

@ -1,2 +1,3 @@
APP_DIR = "/var/lib/authentic"
DATA_DIR = "/usr/share/authentic"
ERROR_LOG = None

View File

@ -55,7 +55,8 @@ class AuthenticVHostPublisher(AuthenticPublisher):
def create_publisher(publisher_class = AuthenticPublisher):
publisher = publisher_class(RootDirectory(),
session_cookie_name = 'authentic',
session_cookie_path = '/')
session_cookie_path = '/',
error_log = ERROR_LOG)
publisher.app_dir = APP_DIR
if not os.path.exists(publisher.app_dir):
os.mkdir(publisher.app_dir)