\"print\" only works in development server. But what if I want it to work in Apache? Just in case I forget to comment it out...I want to be able to go smoothly without causi
If you want to write print statements to Apache error log, you can use sys.stderr:
sys.stderr
import sys sys.stderr.write('log mgs')
then it will be in apache error log file.