ml-agents icon indicating copy to clipboard operation
ml-agents copied to clipboard

[Request] Time stamp unity-enviornment.log

Open shihzy opened this issue 8 years ago • 7 comments

Hi all - instead of writing over the unity-environment.log on each run, we should time stamp this every run. this way, we preserve the logs for debugging. and move this into an logs folder.

shihzy avatar May 14 '18 16:05 shihzy

I think the size of this folder would soon become too large. Users would have to periodically remove logs from the folder. What about adding the log into an issue template, I think this would make identification of bugs easier.

vincentpierre avatar May 14 '18 18:05 vincentpierre

hmm, true, maybe we can have a flag to turn it off in learn.py. but i dont think the logs are really large. what is an issue template?

shihzy avatar May 14 '18 18:05 shihzy

The logs can become very large when the user calls Debug.Log at every engine Update or when there is a recurring error. I mean github issue template. When there is a bug, the users could save this log and post it, this way it would be visible by us.

vincentpierre avatar May 14 '18 18:05 vincentpierre

@vincentpierre @unityjeffrey Using log rotation here can help. Caps the size and offers a recency buffer.

mmattar avatar May 14 '18 22:05 mmattar

that works too. something between infinite logs vs overwrites. i will add this to planning for us to discuss.

shihzy avatar May 14 '18 22:05 shihzy

added to backlog

shihzy avatar May 15 '18 20:05 shihzy

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 03 '20 11:01 lock[bot]