Skip to content

Commit

Permalink
Try to trap apache log
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 19, 2019
1 parent 616aa1f commit 9a6517a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ script:
# The wget should return a page with line '<meta name="generator" content="Dolibarr installer">
wget -O - http://127.0.0.1 > test.html
head test.html
sudo cat /var/log/apache2/error.log
sudo cat /var/log/apache2/travis_error_log
set +e
echo
Expand Down Expand Up @@ -379,7 +379,7 @@ after_failure:
done
# Apache log file
echo "Debugging informations for file apache error.log"
sudo cat /var/log/apache2/error.log
sudo cat /var/log/apache2/travis_error_log
if [ "$DEBUG" = true ]; then
# Dolibarr log file
echo "Debugging informations for file dolibarr.log (latest 50 lines)"
Expand Down
1 change: 1 addition & 0 deletions build/travis-ci/apache.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<VirtualHost *:80>
DocumentRoot %TRAVIS_BUILD_DIR%/htdocs
ErrorLog /var/log/apache2/travis_error_log

<Directory "%TRAVIS_BUILD_DIR%/htdocs/">
Options FollowSymLinks MultiViews ExecCGI
Expand Down

0 comments on commit 9a6517a

Please sign in to comment.