-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
telemetry = false in et.cfg does not disable telemetry #504
Comments
The problem is that the print you are referring to is outside of the #define that disables telemetry:
Please submit a PR that moves that print one line down. Even without your PR, the telemetry is disabled. |
Hi MisterTea, Thanks for your quick response. Very much enjoying my start of using et. There are two commits in my pull request The first one is the one mentioned above Thanks again |
* Only print sentry shutdown message if TelemetryService exists Fix for #504 * Config example for telemetry option
I'm going to close this but I still have a small qualm with the ini file telemetry config:
The cxxopts option is assumed to be a boolean but the ini parser logic uses stoi to convert the parsed char* to an int. We should probably support both literal booleans and integer equivalents (0 - false, non-zero - true). |
In issue MisterTea#504, it was brought to attention that while the command line arg for enabling telemetry was boolean, the ini config in et.cfg needed to be an int to change the value. SimpleIni has a GetBoolValue function that treats the strings "0", "off", "no", "false" as boolean false and "1", "on", "true" as boolean true. Also, this will make telemetry opt-in as opposed to opt-out as has been requested by multiple users. The supplied et.cfg file will still have telemetry on.
In issue #504, it was brought to attention that while the command line arg for enabling telemetry was boolean, the ini config in et.cfg needed to be an int to change the value. SimpleIni has a GetBoolValue function that treats the strings "0", "off", "no", "false" as boolean false and "1", "on", "true" as boolean true. Also, this will make telemetry opt-in as opposed to opt-out as has been requested by multiple users. The supplied et.cfg file will still have telemetry on.
Hello,
When running
$ et -v 7 --logtostdout 127.0.0.1
I get the following output:
Seeing "Shutting down sentry" indicates to me that telemetry is still enabled
My et.cfg file is the following:
I've also tried telemetry = 0 and placing the option before and in the [Networking] section.
The text was updated successfully, but these errors were encountered: