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

ganglia-logtailer: shouldnt initialize logging when run with --help #44

Open
sandrotosi opened this issue May 5, 2017 · 0 comments
Open

Comments

@sandrotosi
Copy link

i was trying to have the cli options by running g-l with --help but i got an error instead:

./ganglia-logtailer --help
Traceback (most recent call last):
  File "/yada/yada/ganglia-logtailer", line 50, in <module>
    os.mkdir(logDir)
OSError: [Errno 13] Permission denied: '/var/log/ganglia'

this was with my user, so of course it couldnt create that dir nor access it.

I think g-l shouldnt try to initialize/read logging if only run via --help

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

1 participant