logger_file_backend icon indicating copy to clipboard operation
logger_file_backend copied to clipboard

relative path default absolute location

Open OvermindDL1 opened this issue 8 years ago • 1 comments

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. :-)

OvermindDL1 avatar Jul 14 '16 14:07 OvermindDL1

This feels like a complicated feature that could be implemented individually with something like symlinks. Is this something you want to keep open?

isaacsanders avatar Nov 12 '18 21:11 isaacsanders