Skip to content

os.fork appears to not be supported #8

@jnegro

Description

@jnegro

I currently use loggly-python-handler to log an application that has asynchronous jobs triggered by web requests. To do this, I use os.fork to fork off the actual job, and use the original request to respond back to the web request as ok. No matter what I do, I only receive logs in loggly for the original process, and nothing for the forked process. This is true when trying to use my global logger, or even instantiating a new object via logging.getLogger() after the fork. Is there something under the hood that stops me from using the original logger no matter where the object is referenced?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions