Enable ActiveContext
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Label this issue](https://contributors.gitlab.com/manage-issue?action=label&projectId=278964&issueIid=554921)
</details>
<!--IssueSummary end-->
## Context
### Update initializer
```diff
diff --git a/config/initializers/active_context.rb b/config/initializers/active_context.rb
index 43fa3daa1894..d4a5678d0805 100644
--- a/config/initializers/active_context.rb
+++ b/config/initializers/active_context.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
ActiveContext.configure do |config|
- config.enabled = false
- config.indexing_enabled = false
+ config.enabled = true
+ config.indexing_enabled = true
config.logger = ::Gitlab::ActiveContext::Logger.build
end
```
### Update documentation for logging
Reference: https://docs.gitlab.com/development/logging/#additional-steps-with-new-log-files
#### Update Administration docs
We also need to add a section about the `activecontext.log` to the [documentation](https://docs.gitlab.com/administration/logs/). See https://gitlab.com/gitlab-org/gitlab/-/merge_requests/197897#note_2632785602 and https://gitlab.com/gitlab-org/gitlab/-/merge_requests/197897#note_2632823995
#### Update runbook
[Runbook link](https://gitlab.com/gitlab-com/runbooks/blob/master/docs/logging/README.md)
task