diff --git a/manifests/tal_cli.pp b/manifests/tal_cli.pp
index d4f277549d065da87dd0984a34eca1bca79a07b3..ed6610adbb3cd76602c8fb15e87b7f8d27a67868 100644
--- a/manifests/tal_cli.pp
+++ b/manifests/tal_cli.pp
@@ -74,7 +74,7 @@ class aes::tal_cli (
     path        => '/bin:/usr/bin',
     environment => ['HOME=/home/examadm'],
     creates     => '/home/examadm/tal-cli/source/tal',
-    command     => '/home/examadm/tal-cli/on_update.sh',
+    command     => '/home/examadm/tal-cli/on_update.sh | tee /home/examadm/tal-cli/log.txt',
     require     => File['/home/examadm/tal-cli/on_update.sh'],
   }