Logging is a large subject! Is there anything you'd specifically like to know, or something you find difficult?
@josipsadek44252 ай бұрын
Hey, to me it is unclear how to use logging when we have multiprocessing involved. I would love of you could cover that or point me to good quality resource that goes deep on this. Love your videos btw
@JakeCallahan2 ай бұрын
Multiprocessing adds a complication for simple logging, since there is a strong possibility of race conditions. What I would recommend is to aopend an id to your log file name for each subprocesses. This makes it easier to identify what each is doing independent of each other and the main process.
@taft-rh9 ай бұрын
GREAT VIDEO! I've put off diving into the specifics of logger for a while now as it wasn't really a priority. Looks like you did all the heavy lifting for me! Suggestion: It would have been cool to see an example of implementing a application argument via argeparse to set the default log level.
@dragonkat139 ай бұрын
another great video! love your intro! smooth and well done!
@waldirio9 ай бұрын
Amazing video, my dear friend! Congrats!! 😉👍
@DiptonilRoy7 ай бұрын
I was wondering if there are any particular benefits to writing class-based loggers. Also, how to do them 'right'... Would love to see something on that subject.
@duke007x39 ай бұрын
Hi, Jake and thanks as always. Have you tried loguru instead of builtin logging? if yes, what is your opinion on it? looks like it is much simpler for configuration.
@JakeCallahan9 ай бұрын
For most of my work/personal projects, I use logzero. However, that project is no longer maintained, so will eventually die off. I have looked into loguru as an alternative and it does look promising. However, I'd really have to look into it's features before adopting over my own custom-built logging solution, since I tend to like to do things myself! If you do try it out, please follow up with your thoughts on it, I'd be very interested in what you think.