logger_file_backend
logger_file_backend copied to clipboard
relative path default absolute location
When specifying a relative log path like in:
config :logger, :debug,
path: "log/debug.log",
level: :debug,
Would it be possible to add a config option for something like:
config :logger_file_backend, :relative_path_pwd, "/some/base/directory" # defaults to program global pwd
It would be convenient to have the host of file loggers have a relative location that could then be specified based on the environment at a single location without changing the global pwd. :-)
This feels like a complicated feature that could be implemented individually with something like symlinks. Is this something you want to keep open?