mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
Merge "Change the tail command for capturing the logs on deployment to check the file every second instead of continuously to avoid the 100% CPU time problem from artf3524"
This commit is contained in:
@@ -46,7 +46,7 @@
|
|||||||
username="${username}"
|
username="${username}"
|
||||||
password="${password}"
|
password="${password}"
|
||||||
trust="true"
|
trust="true"
|
||||||
command="tail -F -s 0 -n 0 ${deploy.log.file}"/>
|
command="tail -F -n 0 ${deploy.log.file}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="kill-program" depends="get-target-ip" description="Kill the currently running FRC program">
|
<target name="kill-program" depends="get-target-ip" description="Kill the currently running FRC program">
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ password=
|
|||||||
deploy.dir=/home/admin
|
deploy.dir=/home/admin
|
||||||
deploy.kill.command=. /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r
|
deploy.kill.command=. /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r
|
||||||
deploy.log.file=/var/local/natinst/log/FRC_UserProgram.log
|
deploy.log.file=/var/local/natinst/log/FRC_UserProgram.log
|
||||||
deploy.log.command=tail -F -s 0 -n 0 ${deploy.log.file}
|
deploy.log.command=tail -F -n 0 ${deploy.log.file}
|
||||||
debug.flag.dir=/tmp/
|
debug.flag.dir=/tmp/
|
||||||
command.dir=/home/lvuser/
|
command.dir=/home/lvuser/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user