Forum Discussion
6 Replies
- Kevin_StewartEmployee
An iApp will generate logs to /var/tmp/scriptd.out from the puts command.
- Kevin_StewartEmployee
Look in /shared/tmp/
- Kevin_StewartEmployee
Very strange. I just tested this in 11.6 and 12.0 and /shared/tmp/scriptd.out is exactly where the log statements went. Are you putting the puts commands in the implementation section of the iApp?
- Nick_MontelNimbostratus
Yes I have the puts statement in the implementation section of the IApp. If I try puts "Hello world" the Iapp builds and runs fine but I never see the output in the scriptd.out file. I figured if I delete that file and then rerun everything it would build it but nothing. Maybe it is a setting on the F5 device. I have used the "puts" before on other F5 devices and was able to go to putty and see the output in the folder. I am wondering if the folder gets deleted does the running of the IApp automatically create it and insert the results to the puts statements?
- Kevin_StewartEmployee
Okay, so after some more testing I know a few more things. 😉
First, /var/tmp is a hardlink to /shared/tmp so the contents are the same
Second, scriptd is actually a daemon service. If you delete the file it won't be automatically recreated by running the iApp, but it will if you restart the daemon:
bigstart restart scriptd
- Nick_MontelNimbostratus
YES thank you it worked. Good Job. I really appreciate that!!