define error_log
This commit is contained in:
parent
b1c098e395
commit
937f88cd08
|
@ -1,2 +1,3 @@
|
|||
APP_DIR = "/var/lib/wcs"
|
||||
DATA_DIR = "/usr/share/wcs"
|
||||
ERROR_LOG = None
|
||||
|
|
|
@ -119,7 +119,8 @@ class WcsVHostPublisher(WcsPublisher):
|
|||
def create_publisher(publisher_class = WcsPublisher):
|
||||
publisher = publisher_class(RootDirectory(),
|
||||
session_cookie_name = 'wcs',
|
||||
session_cookie_path = '/')
|
||||
session_cookie_path = '/',
|
||||
error_log = ERROR_LOG)
|
||||
publisher.app_dir = APP_DIR
|
||||
publisher.data_dir = DATA_DIR
|
||||
if not os.path.exists(publisher.app_dir):
|
||||
|
|
Loading…
Reference in New Issue