Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (trace.isEnabled()) {
+ "nothing that identifies the server's owner or address. "
+ "Turn it off with usage-reporting.enabled: false in this plugin's config.yml, "
+ "or for every plugin with enabled: false in plugins/trace/config.yml. "
+ "Details: https://github.com/Stephenson-Software/trace#usage-reporting");
+ "Details: https://danielstephenson.dev/usage-reporting");
} else {
getLogger().info("Usage reporting is off (" + trace.disabledReason() + ").");
}
Expand Down Expand Up @@ -155,7 +155,7 @@ last word. `build()` checks these in order; the first match wins and is what
nothing and costs nothing. A program that runs on other people's machines
should expose its own switch in its configuration and print, on every
startup, whether reporting is on and how to turn it off — see the example
above and the [usage reporting](https://github.com/Stephenson-Software/trace#usage-reporting)
above and the [usage reporting](https://danielstephenson.dev/usage-reporting)
page for the wording the fleet uses.

## Server-wide tags
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/software/stephenson/trace/TraceClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public final class TraceClient {
/** Exactly what a missing server-wide switch file is created with. */
static final String SERVER_WIDE_CONFIG_CONTENT =
"# Server-wide switch for usage reporting by plugins that report to trace\n"
+ "# (https://github.com/Stephenson-Software/trace#usage-reporting).\n"
+ "# (https://danielstephenson.dev/usage-reporting).\n"
+ "# Set enabled to false and every such plugin on this server stops reporting,\n"
+ "# regardless of its own usage-reporting.enabled setting. Plugins never turn\n"
+ "# this back on.\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ void serverWideConfig_isCreatedWithTheExactContentWhenMissing(@TempDir Path plug
// Assert
assertTrue(Files.exists(file), "plugins/trace/config.yml should have been created");
String expected = "# Server-wide switch for usage reporting by plugins that report to trace\n"
+ "# (https://github.com/Stephenson-Software/trace#usage-reporting).\n"
+ "# (https://danielstephenson.dev/usage-reporting).\n"
+ "# Set enabled to false and every such plugin on this server stops reporting,\n"
+ "# regardless of its own usage-reporting.enabled setting. Plugins never turn\n"
+ "# this back on.\n"
Expand Down
Loading