diff --git a/sgad.sh b/sgad.sh
index 468e3211e98b5e5f287ee4a606a981d2220ddf34..67a343bea05a5e30bf969b116115871cb72ea542 100755
--- a/sgad.sh
+++ b/sgad.sh
@@ -11,4 +11,4 @@ fi
 
 
 eval $(luarocks path --bin)
-sgad ${confgfile} >> "${logfile}" 2>&1
\ No newline at end of file
+sgad ${confgfile} 2>&1 | tee -a "${logfile}"