2020-05-15 00:53:28 +03:00
|
|
|
:80
|
|
|
|
|
|
|
|
log {
|
|
|
|
output file /var/log/access.log {
|
|
|
|
roll_size 1gb
|
2022-01-04 22:11:27 +03:00
|
|
|
roll_uncompressed
|
2022-02-20 01:12:28 +03:00
|
|
|
roll_local_time
|
2020-05-15 00:53:28 +03:00
|
|
|
roll_keep 5
|
|
|
|
roll_keep_for 90d
|
|
|
|
}
|
|
|
|
}
|
|
|
|
----------
|
|
|
|
{
|
|
|
|
"logging": {
|
|
|
|
"logs": {
|
|
|
|
"default": {
|
|
|
|
"exclude": [
|
|
|
|
"http.log.access.log0"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"log0": {
|
|
|
|
"writer": {
|
|
|
|
"filename": "/var/log/access.log",
|
|
|
|
"output": "file",
|
2022-01-04 22:11:27 +03:00
|
|
|
"roll_gzip": false,
|
2020-05-15 00:53:28 +03:00
|
|
|
"roll_keep": 5,
|
|
|
|
"roll_keep_days": 90,
|
2022-02-20 01:12:28 +03:00
|
|
|
"roll_local_time": true,
|
2020-05-15 00:53:28 +03:00
|
|
|
"roll_size_mb": 954
|
|
|
|
},
|
|
|
|
"include": [
|
|
|
|
"http.log.access.log0"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"apps": {
|
|
|
|
"http": {
|
|
|
|
"servers": {
|
|
|
|
"srv0": {
|
|
|
|
"listen": [
|
|
|
|
":80"
|
|
|
|
],
|
|
|
|
"logs": {
|
|
|
|
"default_logger_name": "log0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|