AdguardTeam / AdguardTeam/AdGuardHome

log_compress config doesn't work properly

Open
#3,528 6 comments 0 reactions 1 assignee Claimed by @ainar-g View on GitHub
documentation P3: Medium
Dominant language
TypeScript
Stars
36.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Have a question or an idea? Please search it [on our forum](https://github.com/AdguardTeam/AdGuardHome/discussions) to make sure it was not yet asked. If you cannot find what you had in mind, please [submit it here](https://github.com/AdguardTeam/AdGuardHome/discussions/new).

### Issue Details

* **Version of AdGuard Home server:**
* v0.106.3
* **How did you install AdGuard Home:**
* OPENWRT Builded-in, and maybe it's installed from github
* **How did you setup DNS configuration:**
* Router
* **If it's a router or IoT, please write device model:**
* OPENWRT R21
* **CPU architecture:**
* x86_64
* **Operating system and version:**
* linux 5.4.122

### Expected Behavior
the query log files compression to `*.gz`

### Actual Behavior
Even I have already set the `log_compress:true`, but the logs still are stored as raw.

### Screenshots

Screenshot1:

![image](https://user-images.githubusercontent.com/72277244/131688779-550c1f43-6806-45c5-bfdf-cd93aa70be71.png)

already set the `log_compress` to `true`.

Screenshot2:

![image](https://user-images.githubusercontent.com/72277244/131689337-92586211-a957-442a-9e35-419c47917491.png)

the logs files didn't get compressed, and will soon eat up my disk space till the router dies.

### Additional Information
On my openwrt system, I have installed the `gzip` softerware. Or is there any other dependencies I need to install?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.