jenkins-bot has submitted this change and it was merged.

Change subject: Logging: add ApiAction kafka logging
......................................................................


Logging: add ApiAction kafka logging

Second try at enabling logging for api.php requests. This time with new
and improved proper naming of the logging channel to match the
configuration that was used in the Camus/Oozie/Hadoop end of the
pipeline.

Bug: T108618
Depends-On: I5797731abeba22ef6ced7c8407ee670344d35b3d
Depends-On: I8d0886f22472c06e9f51fa64e355fdf80c27d36f
Change-Id: Ic8745dd0562a4ce1225a546f70defef89be25dd9
---
M wmf-config/InitialiseSettings.php
M wmf-config/event-schemas
2 files changed, 9 insertions(+), 2 deletions(-)

Approvals:
  BryanDavis: Looks good to me, approved
  Gergő Tisza: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 55d86eb..100983c 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -4458,8 +4458,8 @@
                        'schema' => file_get_contents( __DIR__ . 
'/event-schemas/avro/mediawiki/CirrusSearchRequestSet/111448028943.avsc' ),
                        'revision' => 111448028943,
                ),
-               'ApiRequest' => array(
-                       'schema' => file_get_contents( __DIR__ . 
'/event-schemas/avro/mediawiki/ApiRequest/101453221640.avsc' ),
+               'ApiAction' => array(
+                       'schema' => file_get_contents( __DIR__ . 
'/event-schemas/avro/mediawiki/ApiAction/101453221640.avsc' ),
                        'revision' => 101453221640,
                ),
        ),
@@ -4482,6 +4482,13 @@
                'antispoof' => 'debug',
                'api' => array( 'logstash' => false ),
                'api-feature-usage' => 'debug',
+               'ApiAction' => array(
+                       'udp2log' => false,
+                       'logstash' => false,
+                       'kafka' => 'debug',
+                       'buffer' => true,
+                       'sample' => 5000,
+               ),
                'badpass' => 'debug',
                'BounceHandler' => 'debug',
                'Bug58676' => 'debug', # Invalid message parameter
diff --git a/wmf-config/event-schemas b/wmf-config/event-schemas
index c9456af..3dd6ee3 160000
--- a/wmf-config/event-schemas
+++ b/wmf-config/event-schemas
-Subproject commit c9456af43d26a6e20df958530bed68b99898ad7d
+Subproject commit 3dd6ee3860838ae319ca3c29b63aa979211799a1

-- 
To view, visit https://gerrit.wikimedia.org/r/278347
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic8745dd0562a4ce1225a546f70defef89be25dd9
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: GergÅ‘ Tisza <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to