Skip to content
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

Modify UUID generate command and resolve hanging issue #111

Merged
merged 1 commit into from Dec 13, 2017
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Modify UUID generate command and resolve hanging issue

  • Loading branch information
Ubuntu
Ubuntu committed Nov 24, 2017
commit 52258fae0a9770d64032a300311299ffe367898e
@@ -734,7 +734,7 @@ createRsyslogDir() {
#check if the logs made it to Loggly
checkIfLogsMadeToLoggly() {
logMsgToConfigSysLog "INFO" "INFO: Sending test message to Loggly."
uuid=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
uuid=$(cat /proc/sys/kernel/random/uuid)

queryParam="syslog.appName%3ALOGGLYVERIFY%20$uuid"
logger -t "LOGGLYVERIFY" "LOGGLYVERIFY-Test message for verification with UUID $uuid"
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.