K
kr.prashant94
@kr.prashant94
0
Reputation
2
Posts
1
Profile views
0
Followers
0
Following
Best posts made by kr.prashant94
This user hasn't posted anything yet.
Latest posts made by kr.prashant94
-
How to stop file logging using logzero
Whenever, I am importing
SmartApi
it is creating./logs
folder in project directory that highly unsafe for my application. the logger might log sensitive critical information that will expose over public access.
I want to stoplogzero
logging but unable to do that.from SmartApi import SmartConnect import logzero logzero.logfile(None)
Please remove the
logzero
configuration override package. Please inherit configuration from parent configuration.SmartApi/smartConnect.py
128 log_folder_path = os.path.join("logs", log_folder) # Construct the full path to the log folder 129 os.makedirs(log_folder_path, exist_ok=True) # Create the log folder if it doesn't exist 130 log_path = os.path.join(log_folder_path, "app.log") # Construct the full path to the log file 131 logzero.logfile(log_path, loglevel=logging.ERROR) # Output logs to a date-wise log file
Please fix this kind of programming bug 🙏