-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes logs are appended to a existing logs files of previous runs #131
Comments
not able to reproduce, the root cause of this issue may be bound to python's |
Steps to reproduce:
Expected results
Actual result:
Notes:
|
Thanks for the info, I'll try to reproduce it following your steps |
If run
2
is running, logs file2
is empty while logs file1
contains its own logs and also2
logsUpdate
I was able to reproduce it, the issue happens always except for the first pipeline you run after re/starting the server.
Restarting the server solves the problem, but after you run a pipeline then all successive pipelines will log to the file of the 1st pipeline.
Fix analysis
Create a logger that's unique for each pipeline run and not simply for each pipeline, otherwise successive runs will always use the same log file because
json_handler
wouldn't be added the logger, because, in turn,logger
is always the same instance.The text was updated successfully, but these errors were encountered: