|
How do I get my Django application to print to a log? The httpd.conf file has the line: CustomLog /home/my_name/logs/user/access_django.log combined My program contains the line: print "testing" I also tried pprint("testing") I looked in the file access_django.log in the same directory as specified in httpd.conf. It's empty. The program has executed successfully and definitely reached the print statements. |