diff mbox

[Xen-devel,OSSTEST] standalone: print the path to the apache logs if we can't read them

Message ID 1398676935-30784-1-git-send-email-ian.campbell@citrix.com
State New
Headers show

Commit Message

Ian Campbell April 28, 2014, 9:22 a.m. UTC
For cut-and-paste convenience.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
 standalone | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ian Jackson April 30, 2014, 3:28 p.m. UTC | #1
Ian Campbell writes ("[OSSTEST] standalone: print the path to the apache logs if we can't read them"):
> For cut-and-paste convenience.

Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>

> diff --git a/standalone b/standalone
> index 6b08995..800b4ec 100755
> --- a/standalone
> +++ b/standalone
> @@ -79,7 +79,7 @@ while true ; do
>  done
>  
>  if [ ! -r /var/log/apache2/access.log ] ; then
> -    echo "WARNING: Cannot read apache logs. Some tests may fail" >&2
> +    echo "WARNING: Cannot read apache logs at /var/log/apache2/access.log. Some tests may fail" >&2
>  fi

I guess at some point it would be nice if this honoured the log
location config option (WebspaceLog).

Ian.
diff mbox

Patch

diff --git a/standalone b/standalone
index 6b08995..800b4ec 100755
--- a/standalone
+++ b/standalone
@@ -79,7 +79,7 @@  while true ; do
 done
 
 if [ ! -r /var/log/apache2/access.log ] ; then
-    echo "WARNING: Cannot read apache logs. Some tests may fail" >&2
+    echo "WARNING: Cannot read apache logs at /var/log/apache2/access.log. Some tests may fail" >&2
 fi
 
 if ! ssh-add -l >/dev/null ] ; then