[SERVER-29377] Make the logging subsystem immortal Created: 25/May/17 Updated: 28/Feb/20 Resolved: 28/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Logging |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Samantha Ritter (Inactive) | Assignee: | Henrik Edin |
| Resolution: | Done | Votes: | 0 |
| Labels: | former-quick-wins, gm-ack, service_architecture | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
The logging subsystem caches streams inside of thread locals, which may be cleaned up before other thread locals on destruction. This means it is not safe to log() anything inside of any class that is stored in a thread local or thread specific pointer. Logging should be immortal, it should be safe to log everywhere. |
| Comments |
| Comment by Henrik Edin [ 28/Feb/20 ] |
|
I believe this has been fixed by |