Open vikramsubramanian opened 6 months ago
The logs are saved in 3 copies likely because of the following reasons:
However, the provided code snippets do not show any explicit configuration that would result in three copies of logs being saved. The logger is configured to write to sys.stderr
and a file at log_path
, but there is no indication of multiple processes or additional sinks that would cause triplication of logs.
To investigate further, you would need to check the following:
logger.add()
might be called without proper checks, which could add extra sinks.If the issue persists, you may need to add additional logging or debugging information to track down where the multiple log copies are coming from.
Is it related to the number of processes I have?
![image](
![image](
)