-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.93 Windows - Cannot specify absolute path in log_file #606
Comments
try either |
Sorry, forgot to mention that I'd tried Both |
Yeah, on Windows there's an issue with specifying an absolute path which we should fix. Even if you make it a valid YAML (by removing quotes or escaping
|
I am trying to config AGH to generate a local log file rather than log to Windows Event Log by populating the log_file settnig in the config file. I can't seem to get it to work and everything permutation I try results in the AGH service not starting and an error being logged:
yaml: line 70: found unknown escape character
NOTE: The documentation for this setting states:
log_file — Path to the log file. If empty, writes to stdout, if syslog -- system log (or eventlog on Windows).
https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration
Steps to reproduce
none of which worked and all generated the above error.
What finally worked was "log_file: AGH.log"
Could I suggest either:
Your environment
The text was updated successfully, but these errors were encountered: