Skip to content

Commit e466a70

Browse files
author
mchaudhary
authored
Merge pull request #111 from Shwetajain148/resolve-hanging-issue
Modify UUID generate command and resolve hanging issue
2 parents 7ff4510 + 52258fa commit e466a70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Linux Script/configure-linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ createRsyslogDir() {
734734
#check if the logs made it to Loggly
735735
checkIfLogsMadeToLoggly() {
736736
logMsgToConfigSysLog "INFO" "INFO: Sending test message to Loggly."
737-
uuid=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
737+
uuid=$(cat /proc/sys/kernel/random/uuid)
738738

739739
queryParam="syslog.appName%3ALOGGLYVERIFY%20$uuid"
740740
logger -t "LOGGLYVERIFY" "LOGGLYVERIFY-Test message for verification with UUID $uuid"

0 commit comments

Comments
 (0)