Re-added context information to log list

Fixes #7679
merged branch mweimerskirch/patch-16 (PR #7806)

This PR was submitted for the master branch but it was merged into the 2.2 branch instead (closes #7806).

Discussion
----------

[Profiler] Re-added context information to log list

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #7679
| License       | MIT

Commits
-------

55c2044 [Profiler] Re-added context information to log list