On Wednesday, May 4, 2016 at 7:46:09 PM UTC-7, Chris Guest wrote: > > Hi DaveS, > > So to clarify when I used mod_wsgi & apache I used to get logging.error > messages saved into my apache error.log . > Now that I use uwsgi & nginx this doesn't happen. > I am not sure what your answer means as I am not familiar with what a > logging.conf file is. I cannot find a logging.conf file in either > /etc/uwsgi /etc/nginx or under my web2py instance. >
Start with webp2y-dir/examples/logging.examples.com Standard Python logging stuff, I thought there was some discussion in the book, but I don't see it. (In the deployment recipes, it discusses that httpserver.log is disabled in the Apache setup, as being redundant.) Oh, wait, it's at <URL:http://web2py.com/books/default/chapter/29/04/the-core#Logging> The example file is pretty much self-documenting, but there are some posts in the group archives that help, such as <URL:https://groups.google.com/d/msg/web2py/R3O3Baig5Iw/E9-1Fif5Uf8J> I am not particularly trying to consolidate logs - I am not seeing these > messages in any log. > > Thanks, > Chris > If you need httpserver.log, you might look at the Apache deployment recipe to see where it gets turned off, or experiment with the -l option. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

