Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Seems like a "log to this unix domain socket" option could help for those cases? Or one to open a new file for new PIDs?


Could probably do:

    @pysnooper.snoop(f"/path/to/file.{os.getpid()}.log")
Something like that




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: