Skip to content

Instantly share code, notes, and snippets.

@henshaw
Created February 14, 2022 05:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henshaw/b0ce96f3d39d3f933482ef393e77fb61 to your computer and use it in GitHub Desktop.
Save henshaw/b0ce96f3d39d3f933482ef393e77fb61 to your computer and use it in GitHub Desktop.
Remove IPs and User Agents from YOURLS log for privacy
UPDATE `yourls_log` SET `ip_address` = Null;
UPDATE `yourls_log` SET `user_agent` = Null;
@henshaw
Copy link
Author

henshaw commented Feb 14, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment