Skip to content

Commit dfae0e1

Browse files
committed
Fix apache2 log file path.
Why is this a file check and not an os family check? Weird.
1 parent fe713d0 commit dfae0e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/src/stack/discovery/pylib/discovery.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@ def start(self, command, appliance_name=None, base_name=None,
433433
# Find our apache log
434434
if os.path.isfile("/var/log/httpd/ssl_access_log"):
435435
kickstart_log = "/var/log/httpd/ssl_access_log"
436-
elif os.path.isfile("/var/log/apache2/ssl_access_log"):
437-
kickstart_log = "/var/log/apache2/ssl_access_log"
436+
elif os.path.isfile("/var/log/apache2/access.log"):
437+
kickstart_log = "/var/log/apache2/access.log"
438438
else:
439439
raise ValueError("Apache log does not exist")
440440

0 commit comments

Comments
 (0)