Skip to content

Instantly share code, notes, and snippets.

@ableasdale
Created October 2, 2013 08:11
Show Gist options
  • Save ableasdale/6790510 to your computer and use it in GitHub Desktop.
Save ableasdale/6790510 to your computer and use it in GitHub Desktop.
Removes common messages from a MarkLogic ErrorLog.txt file including stand update information (Save/Merge/Delete), replication information, forest mounting / unmounting
grep -vE '(\ to\ domestic\ forest\ |\ to\ domestic\ replica\ forest\ |Info:\ Unmounted\ forest|Info:\ Mounted\ forest|Info:\ Merging|Info:\ Merged|Info:\ Saving|Info:\ Saved|Info:\ Deleted)' supportDumpFileName > newFileName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment