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

debug setting in config doesn't work #5

Closed
beckettsean opened this issue May 22, 2015 · 4 comments
Closed

debug setting in config doesn't work #5

beckettsean opened this issue May 22, 2015 · 4 comments

Comments

@beckettsean
Copy link
Contributor

In the config file, the debug setting is non-functional:

# Configuration for tivan itself
 [agent]
 interval = "10s"
 debug = false
 hostname = "catalyst"

Whether debug is set to true or false, no debugging output happens. I can use tivan -config tivan.toml -debug to get debug output. I'd be fine with that being the only option.

If removing the debug setting from the config is simple I vote we do that. It seems better as a command-line flag anyway.

@evanphx
Copy link
Contributor

evanphx commented May 22, 2015

I retested this after you reported this problem and it was working. Can you retest with the latest build?

@beckettsean
Copy link
Contributor Author

I regret to report that I still don't know how to build Go from scratch. Have an easy cmd line example for Darwin?

@evanphx
Copy link
Contributor

evanphx commented May 22, 2015

Do you have go installed? If so, do this:

mkdir -p $GOPATH/src/github.com/influxdb
cd $GOPATH/src/github.com/influxdb
git clone [email protected]:influxdb/telegraf.git
cd telegraf
go run cmd/telegraf/telegraf.go

@beckettsean
Copy link
Contributor Author

verified fixed with latest build.

danielnelson pushed a commit that referenced this issue Jan 29, 2020
bielawb added a commit to bielawb/telegraf that referenced this issue Mar 24, 2020
sspaink pushed a commit that referenced this issue Oct 5, 2021
Update from original repo
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