-
-
Save mneedham/8001739 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# tiny script to extract the logs of the latest startup sequence in a Neo4j instance | |
# | |
if (( $# == 0 )); then | |
echo "call me: $0 <path_to_messages.log>" | |
exit 1 | |
fi | |
tail -r $1 | sed '/INITIALIZED diagnostics START/q' | tail -r | sed '/SERVER STARTED END/q' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment