fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
81.43k stars 12.82k forks source link

The value of log.to cannot be configured as a non-existent path #4147

Closed FoundAdd closed 1 month ago

FoundAdd commented 2 months ago

Describe the feature request

If I configure log.to with a path that does not exist, the logging system will not automatically create this directory, but will directly prompt "no such file or directory". image

Describe alternatives you've considered

It would be much more convenient if the logic could be changed to automatically create lower-level directories. Currently, the corresponding log directory can only be created in advance.

Affected area

fatedier commented 2 months ago

Please use the latest version and use explicit paths instead of environment variables.

github-actions[bot] commented 1 month ago

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.