diff --git a/html/ops/show_log.php b/html/ops/show_log.php
index 1627382dc7..a0686d3ab2 100644
--- a/html/ops/show_log.php
+++ b/html/ops/show_log.php
@@ -34,7 +34,7 @@
if (strlen($f))
$f = "../log*/". $f;
else
- $f = "$log_dir/*.log";
+ $f = "../log*/*.log";
passthru("cd $log_dir && ../bin/grep_logs -html -l $l '$s' $f 2>&1 $lines");