BryanDavis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/278347

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/47/278347/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index ee38e95..e6da13b 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -4454,8 +4454,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,
                ),
        ),
@@ -4478,6 +4478,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: newchange
Gerrit-Change-Id: Ic8745dd0562a4ce1225a546f70defef89be25dd9
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>

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

Reply via email to