Add log
This commit is contained in:
parent
64514b38da
commit
cd7ae52f92
16
.travis.yml
16
.travis.yml
@ -197,6 +197,7 @@ before_script:
|
|||||||
echo "Create documents directory and set permissions"
|
echo "Create documents directory and set permissions"
|
||||||
# and admin/temp subdirectory needed for unit tests
|
# and admin/temp subdirectory needed for unit tests
|
||||||
mkdir -p documents/admin/temp
|
mkdir -p documents/admin/temp
|
||||||
|
echo "first line" > documents/dolibarr.log
|
||||||
echo
|
echo
|
||||||
|
|
||||||
- |
|
- |
|
||||||
@ -298,14 +299,15 @@ after_success:
|
|||||||
|
|
||||||
after_failure:
|
after_failure:
|
||||||
- |
|
- |
|
||||||
|
echo "Debugging informations"
|
||||||
|
# Upgrade log files
|
||||||
|
cat *.log
|
||||||
|
echo "Debugging informations"
|
||||||
|
# Apache log file
|
||||||
|
sudo cat /var/log/apache2/error.log
|
||||||
|
# Dolibarr log file
|
||||||
|
cat documents/dolibarr.log
|
||||||
if [ "$DEBUG" = true ]; then
|
if [ "$DEBUG" = true ]; then
|
||||||
echo "Debugging informations"
|
|
||||||
# Upgrade log files
|
|
||||||
cat *.log
|
|
||||||
# Dolibarr log file
|
|
||||||
cat documents/dolibarr.log
|
|
||||||
# Apache log file
|
|
||||||
sudo cat /var/log/apache2/error.log
|
|
||||||
# MariaDB log file
|
# MariaDB log file
|
||||||
sudo cat /var/log/mysql/error.log
|
sudo cat /var/log/mysql/error.log
|
||||||
# TODO: PostgreSQL log file
|
# TODO: PostgreSQL log file
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user