Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/main/pihole-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ The Pi-hole debugger will attempt to diagnose any issues, and link to an FAQ wit
| Script Location | [`/opt/pihole/piholeLogFlush.sh`](https://github.com/pi-hole/pi-hole/blob/master/advanced/Scripts/piholeLogFlush.sh) |
| Example Usage | [`pihole flush`](https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#flushing-the-log) |

When invoked manually, this command will allow you to empty Pi-hole's log, which is located at `/var/log/pihole/pihole.log`. The command also serves to rotate the log daily, if the `logrotate` application is installed.
When invoked manually, this command will allow you to empty Pi-hole's log, which is located at `/var/log/pihole/pihole.log`. Pi-hole's logs are rotated separately by the system's scheduled `logrotate` run, using the configuration in `/etc/logrotate.d/pihole`: `pihole.log` daily, `FTL.log` and `webserver.log` weekly.

### Network Flush

Expand Down
Loading