Python Forum
Using gunicorn workers to log to single file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using gunicorn workers to log to single file
#1
I'm using gunicorn to spawn a few workers and want to write to the workers to write to the same log file. Also logrotate would be used to rotate this log file once a day. Also I'm using Python v3.6.3. Whats the right file handler to use in this case?

Thanks!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  python Multithreading on single file mg24 3 1,741 Nov-05-2022, 01:33 PM
Last Post: snippsat
  Create multiple/single csv file for each sql records mg24 6 1,399 Sep-29-2022, 08:06 AM
Last Post: buran
  [SOLVED] Input parameter: Single file or glob? Winfried 0 1,587 Sep-10-2021, 11:54 AM
Last Post: Winfried
  Remove single and double quotes from a csv file in 3 to 4 column shantanu97 0 6,984 Mar-31-2021, 10:52 AM
Last Post: shantanu97
  How do I write a single 8-bit byte to a file? MysticLord 2 2,820 Sep-03-2020, 12:27 PM
Last Post: MysticLord
  How to extract a single word from a text file buttercup 7 3,581 Jul-22-2020, 04:45 AM
Last Post: bowlofred
  Print output in single file using pramika loop deepakkhw 1 2,076 Jul-11-2020, 11:57 AM
Last Post: j.crater
  how to merge a list of *.jpg and *.docx into one single PDF file ? smallabc 0 2,373 Feb-23-2020, 05:16 PM
Last Post: smallabc
  Errors to get information of multiple files into a single file csv Clnprof 3 2,612 Aug-30-2019, 04:59 PM
Last Post: ThomasL
  Packaging a single module(file) with a non-code file runsun 2 3,056 Apr-07-2019, 06:46 PM
Last Post: runsun

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020