-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Introduce daemonbase and use it for logging. #94
Conversation
Is it wise to make |
A daemonbase release should probably happen before merging, indeed. |
manager: &mut Manager, | ||
) -> Result<Self, Failed> { | ||
let conf_path = cur_dir.join(matches.value_of("config").unwrap()); | ||
let conf = match ConfigFile::load(&conf_path) { | ||
let args = Args::from_arg_matches( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not clear to me why cur_dir
is no longer needed here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expansion of relative paths is now done transparently in daemonbase.
This PR switches the logging configuration to use the new daemonbase crate.