Hi,
I'm currently trying to customize Pulsar's logging through the "logconfig" parameter in my WSGIServer and have some questions about that:
1. How does Pulsar's logging work in a multi-process setup? If I have e.g. 4 worker processes and log everything into a file, do the worker-processes log through the master process or does each worker try to log into the file directly? In the second case I could imaging some problems on Windows because concurrent write access to the same file is usually not possible.
2. Can I let Pulsar log all HTTP requests? If not, where would I add this functionality, mabye through an additional middleware?
3. How can I route my own logging statements (in my wsgi app) through Pulsar's logging? Statements like this should show up in Pulsar's central logging:
import logging
logger = logging.getLogger(__name__)
logger.warn("Warning! Warning!")