You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
read -p "In order to check if Apache logs are successfully sent to Loggly, apache needs to produce logs. Do you want to create a log record by accessing server? (yes/no)" yn
354
+
case$ynin
355
+
[Yy]*)
356
+
#access a page on apache server in order to create a log record in access log file
357
+
WEB_ADDRESS=127.0.0.1
358
+
whiletrue;do
359
+
read -p "Default check is performed on a localhost address 127.0.0.1 . Are you running an apache server with a different address? (yes/no)" yesno
360
+
case$yesnoin
361
+
[Yy]*)
362
+
logMsgToConfigSysLog "INFO""INFO: Using specific apache server address."
363
+
read -p "Please enter Apache server address " -r WEB_ADDRESS
364
+
;;
365
+
[Nn]*)
366
+
logMsgToConfigSysLog "INFO""INFO: Using default apache server address."
0 commit comments