diff --git a/docker/apphub/script/entrypoint.sh b/docker/apphub/script/entrypoint.sh
index 947fe563..4b0525fa 100644
--- a/docker/apphub/script/entrypoint.sh
+++ b/docker/apphub/script/entrypoint.sh
@@ -53,4 +53,4 @@ create_apikey() {
 
 create_apikey
 
-tail -f /var/log/supervisord.log
\ No newline at end of file
+tail -n 1000 -f /var/log/supervisord.log
\ No newline at end of file
diff --git a/docker/apphub/script/update.sh b/docker/apphub/script/update.sh
index facd99af..aefc4a92 100644
--- a/docker/apphub/script/update.sh
+++ b/docker/apphub/script/update.sh
@@ -2,6 +2,6 @@
 
 # update media and library
 
-echo "$(date) - Compare remote version and local version" | sudo tee -a /var/log/supervisord.log
+echo "$(date) - Compare remote version and local version" | tee -a /var/log/supervisord.log
 
 echo "Download "