Commit 0990f47e authored by Jérome Perrin's avatar Jérome Perrin

deploy-test: more more logs

parent 7a2974ad
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# not need these here). # not need these here).
[deploy-script-controller-script] [deploy-script-controller-script]
filename = deploy-script-controller filename = deploy-script-controller
md5sum = ca83be8dd6ebebe0fa37ec1266330b0d md5sum = afc184be606dc18b93d5a29e04ba9daa
[template-deploy-test] [template-deploy-test]
filename = instance.cfg.in filename = instance.cfg.in
......
...@@ -56,7 +56,7 @@ fi ...@@ -56,7 +56,7 @@ fi
function add_log () function add_log ()
{ {
LOG_FILE="$1" LOG_FILE="$1"
for f in /opt/slapos/log/slapos-node-{software,instance}.log ; do for f in /opt/slapos/log/slapos-node-{software,instance}.log /srv/slapgrid/*/var/log/*log /srv/slapgrid/*/.*log ; do
echo "Tail of '$f':" >> "$LOG_FILE" echo "Tail of '$f':" >> "$LOG_FILE"
tail -n 500 "$f" >> "$LOG_FILE" tail -n 500 "$f" >> "$LOG_FILE"
done done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment