mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
rename log extensions
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
|
|
||||||
with open('access.log') as fp:
|
with open('access.jsonl') as fp:
|
||||||
json_lines = fp.readlines()
|
json_lines = fp.readlines()
|
||||||
|
|
||||||
paths = []
|
paths = []
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ server {
|
|||||||
ssl_prefer_server_ciphers off;
|
ssl_prefer_server_ciphers off;
|
||||||
|
|
||||||
# access log disabled by default
|
# access log disabled by default
|
||||||
#access_log /data/ofm/http_host/logs_nginx/cf-access.log access_json buffer=32k;
|
#access_log /data/ofm/http_host/logs_nginx/cf-access.jsonl access_json buffer=32k;
|
||||||
access_log off;
|
access_log off;
|
||||||
|
|
||||||
error_log /data/ofm/http_host/logs_nginx/cf-error.log;
|
error_log /data/ofm/http_host/logs_nginx/cf-error.log;
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ server {
|
|||||||
ssl_prefer_server_ciphers off;
|
ssl_prefer_server_ciphers off;
|
||||||
|
|
||||||
# access log disabled by default
|
# access log disabled by default
|
||||||
#access_log /data/ofm/http_host/logs_nginx/le-access.log access_json buffer=32k;
|
#access_log /data/ofm/http_host/logs_nginx/le-access.jsonl access_json buffer=32k;
|
||||||
access_log off;
|
access_log off;
|
||||||
|
|
||||||
error_log /data/ofm/http_host/logs_nginx/le-error.log;
|
error_log /data/ofm/http_host/logs_nginx/le-error.log;
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ server {
|
|||||||
ssl_prefer_server_ciphers off;
|
ssl_prefer_server_ciphers off;
|
||||||
|
|
||||||
# access log disabled by default
|
# access log disabled by default
|
||||||
#access_log /data/ofm/http_host/logs_nginx/ledns-access.log access_json buffer=32k;
|
#access_log /data/ofm/http_host/logs_nginx/ledns-access.jsonl access_json buffer=32k;
|
||||||
access_log off;
|
access_log off;
|
||||||
|
|
||||||
error_log /data/ofm/http_host/logs_nginx/ledns-error.log;
|
error_log /data/ofm/http_host/logs_nginx/ledns-error.log;
|
||||||
|
|||||||
Reference in New Issue
Block a user