s4
changeset 637:2b1339d50b30
Query and search log files can be set by setting environment vars.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sun, 03 May 2020 13:44:17 +0900 |
parents | b73ef3fd0e19 |
children | b29e31dc3fbd |
files | s4-funcs.sh |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Wed Apr 29 19:03:17 2020 +0900 1.2 +++ b/s4-funcs.sh Sun May 03 13:44:17 2020 +0900 1.3 @@ -13,6 +13,8 @@ 1.4 dbdir=${DBDIR:-db} 1.5 tmpfiles="" 1.6 db=${DB:-$dbdir/cgi.sq3} 1.7 +querylog=${QUERYLOG:-$tmpdir/query.log} 1.8 +searchlog=${SEARCHLOG:-$tmpdir/search.log} 1.9 workdb=$dbdir/tmpdata.sq3 1.10 listentlimit=${LISTENTLIMIT:-30} 1.11 admin=${ADMIN:-hostmaster@example.org} 1.12 @@ -49,8 +51,6 @@ 1.13 blogreadflagrowid=0 1.14 blogcutoffflagrowid=-1 1.15 whatsnewdays=${WHATS_NEW_DAYS:-14} 1.16 -querylog=$tmpdir/query.log 1.17 -searchlog=$tmpdir/search.log 1.18 1.19 tconfs="" 1.20 imgcached=cache/img.`date +%Y/%m`