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

"akumulid init" doesn't work without a pre-existing config file #368

Open
smurfix opened this issue Jun 26, 2020 · 1 comment
Open

"akumulid init" doesn't work without a pre-existing config file #368

smurfix opened this issue Jun 26, 2020 · 1 comment

Comments

@smurfix
Copy link

smurfix commented Jun 26, 2020

Requiring a config file in order to write a config file seems … sub-optimal.

akumulid --config /tmp/test.cfg init
log4cxx: No appender could be found for logger (main).
log4cxx: Please initialize the log4cxx system properly.
FAILURE can't read config file "/tmp/test.cfg"
@smurfix smurfix changed the title "akumulid init" doesn't work "akumulid init" doesn't work without a pre-existing config file Jun 26, 2020
@Lazin
Copy link
Member

Lazin commented Jul 2, 2020

This should work: akumulid --config=/tmp/foo.cfg --init.
Why boost.program_options doesn't complain about unknown argument is beyond me. I'll try to fix error reporting in such cases.

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