mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-15 11:22:49 +03:00
Added logging description to README
This commit is contained in:
parent
448a6caeb8
commit
aab8da4c7c
14
README.md
14
README.md
@ -110,6 +110,18 @@ You can register AdGuard Home as a system service on Windows, Linux/(systemd | U
|
||||
* `AdGuardHome -s restart` - restarts the service.
|
||||
* `AdGuardHome -s status` - shows the current service status.
|
||||
|
||||
### Logging
|
||||
|
||||
By default, the log is written to `stderr` when you run AdGuard Home as a console application.
|
||||
|
||||
If you run it as a service/daemon, the log output depends on the platform:
|
||||
|
||||
* Linux: the log is written to syslog.
|
||||
* MacOS: the log is written to `/var/log/AdGuardHome.*.log` files.
|
||||
* Windows: the log is written to the Windows event log.
|
||||
|
||||
You can redefine this behavior in AdGuard Home configuration file (see below).
|
||||
|
||||
### Command-line arguments
|
||||
|
||||
Here is a list of all available command-line arguments.
|
||||
@ -130,6 +142,8 @@ Options:
|
||||
-h, --help print this help
|
||||
```
|
||||
|
||||
Please note, that the command-line arguments override settings from the configuration file.
|
||||
|
||||
### Running without superuser
|
||||
|
||||
You can run AdGuard Home without superuser privileges, but you need to either grant the binary a capability (on Linux) or instruct it to use a different port (all platforms).
|
||||
|
Loading…
Reference in New Issue
Block a user