1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 16:36:15 +00:00

put logs to SEAHUB_LOG_DIR env if set

This commit is contained in:
lins05
2013-08-05 11:38:26 +08:00
parent 6645bfc8cf
commit 07b770098d

View File

@@ -201,7 +201,7 @@ GROUP_AVATAR_STORAGE_DIR = 'avatars/groups'
GROUP_AVATAR_DEFAULT_URL = 'avatars/groups/default.png' GROUP_AVATAR_DEFAULT_URL = 'avatars/groups/default.png'
AUTO_GENERATE_GROUP_AVATAR_SIZES = (20, 24, 48) AUTO_GENERATE_GROUP_AVATAR_SIZES = (20, 24, 48)
LOG_DIR = "/tmp" LOG_DIR = os.environ.get('SEAHUB_LOG_DIR', '/tmp')
CACHE_DIR = "/tmp" CACHE_DIR = "/tmp"
install_topdir = os.path.expanduser(os.path.join(os.path.dirname(__file__), '..', '..', '..')) install_topdir = os.path.expanduser(os.path.join(os.path.dirname(__file__), '..', '..', '..'))