Skip to content
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

relative path default absolute location #23

Open
OvermindDL1 opened this issue Jul 14, 2016 · 1 comment
Open

relative path default absolute location #23

OvermindDL1 opened this issue Jul 14, 2016 · 1 comment

Comments

@OvermindDL1
Copy link

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

@isaacsanders
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants