I have kept my python script "myscript.py" in /etc/rc.local as below, and run in background. I have kept few print statements inside the script, which print some values and error codes etc.
/etc/rc.local------ .... sudo python /home/pi/myscript.py &
My questions is while running the python script as above, will the "print" statements inside the script be automatically redirected to the "log" files?
Note: I have not redirected to any log file from my script.
I have now kept my Raspberry PI in remote location where I can not access it for a week. That is the reason I can not check the log files (if any).