1. Home >
  2. Apps >
  3. Groups >

What is a log file in Python?

Question asked by Venkat Sai Nakkina in #Python on Mar 27, 2020
Venkat Sai Nakkina
Venkat Sai Nakkina · Mar 27, 2020
Rank C3 - EXPERT

Most of the developer's use log files instead of print statements. What are the advantages of log files and how they are useful.

Posted in: #Python
Kavya Burramolla
Kavya Burramolla · Mar 30, 2020
Rank C1 - EXPERT

Generally developers use log files reason being there might be some parallel functions or operations that has run during the main program execution. There can be a case where one can miss out the results from those parallel operations. In order to keep track of all the outputs that are not included in the main program or functions that run parallel to the main program we use log files.

You must log-in or sign-up to reply to this post.

Click to Log-In or Sign-Up