You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Event Hubs Processor] Tune Log Levels for Storage (#22256)
The focus of these changes is to tune the logging level for storage
operations in order to reduce the large amount that get emitted for routine
and expected operations, such as inspecting and renewing ownership for
partitions. These have been moved to `verbose` to reduce noise.
Copy file name to clipboardExpand all lines: sdk/eventhub/Azure.Messaging.EventHubs.Processor/src/Diagnostics/BlobEventStoreEventSource.cs
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ public virtual void BlobsCheckpointStoreCreated(string typeName,
77
77
/// <param name="eventHubName">The name of the specific Event Hub the ownership are associated with, relative to the Event Hubs namespace that contains it.</param>
78
78
/// <param name="consumerGroup">The name of the consumer group the ownership are associated with.</param>
79
79
///
80
-
[Event(21,Level=EventLevel.Informational,Message="Starting to list ownership for FullyQualifiedNamespace: '{0}'; EventHubName: '{1}'; ConsumerGroup: '{2}'.")]
80
+
[Event(21,Level=EventLevel.Verbose,Message="Starting to list ownership for FullyQualifiedNamespace: '{0}'; EventHubName: '{1}'; ConsumerGroup: '{2}'.")]
@@ -97,7 +97,7 @@ public virtual void ListOwnershipStart(string fullyQualifiedNamespace,
97
97
/// <param name="consumerGroup">The name of the consumer group the ownership are associated with.</param>
98
98
/// <param name="ownershipCount">The amount of ownership received from the storage service.</param>
99
99
///
100
-
[Event(22,Level=EventLevel.Informational,Message="Completed listing ownership for FullyQualifiedNamespace: '{0}'; EventHubName: '{1}'; ConsumerGroup: '{2}'. There were {3} ownership entries were found.")]
100
+
[Event(22,Level=EventLevel.Verbose,Message="Completed listing ownership for FullyQualifiedNamespace: '{0}'; EventHubName: '{1}'; ConsumerGroup: '{2}'. There were {3} ownership entries were found.")]
@@ -140,7 +140,7 @@ public virtual void ListOwnershipError(string fullyQualifiedNamespace,
140
140
/// <param name="consumerGroup">The name of the consumer group the ownership is associated with.</param>
141
141
/// <param name="ownerIdentifier">The identifier of the processor that attempted to claim the ownership for.</param>
142
142
///
143
-
[Event(24,Level=EventLevel.Informational,Message="Starting to claim ownership of partition: `{0}` of FullyQualifiedNamespace: '{1}'; EventHubName: '{2}'; ConsumerGroup: '{3}' for the owner '{4}'.")]
143
+
[Event(24,Level=EventLevel.Verbose,Message="Starting to claim ownership of partition: `{0}` of FullyQualifiedNamespace: '{1}'; EventHubName: '{2}'; ConsumerGroup: '{3}' for the owner '{4}'.")]
@@ -163,7 +163,7 @@ public virtual void ClaimOwnershipStart(string partitionId,
163
163
/// <param name="consumerGroup">The name of the consumer group the ownership is associated with.</param>
164
164
/// <param name="ownerIdentifier">The identifier of the processor that attempted to claim the ownership for.</param>
165
165
///
166
-
[Event(25,Level=EventLevel.Informational,Message="Completed the attempt to claim ownership of partition: `{0}` of FullyQualifiedNamespace: '{1}'; EventHubName: '{2}'; ConsumerGroup: '{3}' for the owner '{4}'.")]
166
+
[Event(25,Level=EventLevel.Verbose,Message="Completed the attempt to claim ownership of partition: `{0}` of FullyQualifiedNamespace: '{1}'; EventHubName: '{2}'; ConsumerGroup: '{3}' for the owner '{4}'.")]
@@ -236,7 +236,7 @@ public virtual void OwnershipNotClaimable(string partitionId,
236
236
/// <param name="consumerGroup">The name of the consumer group the ownership is associated with.</param>
237
237
/// <param name="ownerIdentifier">The identifier of the processor that attempted to claim the ownership for.</param>
238
238
///
239
-
[Event(28,Level=EventLevel.Informational,Message="Successfully claimed ownership of partition: `{0}` of FullyQualifiedNamespace: '{1}'; EventHubName: '{2}'; ConsumerGroup: '{3}' for the owner '{4}'.")]
239
+
[Event(28,Level=EventLevel.Verbose,Message="Successfully claimed ownership of partition: `{0}` of FullyQualifiedNamespace: '{1}'; EventHubName: '{2}'; ConsumerGroup: '{3}' for the owner '{4}'.")]
@@ -257,7 +257,7 @@ public virtual void OwnershipClaimed(string partitionId,
257
257
/// <param name="eventHubName">The name of the specific Event Hub the checkpoints are associated with, relative to the Event Hubs namespace that contains it.</param>
258
258
/// <param name="consumerGroup">The name of the consumer group the checkpoints are associated with.</param>
259
259
///
260
-
[Event(29,Level=EventLevel.Informational,Message="Starting to list checkpoints for FullyQualifiedNamespace: '{0}'; EventHubName: '{1}'; ConsumerGroup: '{2}'.")]
260
+
[Event(29,Level=EventLevel.Verbose,Message="Starting to list checkpoints for FullyQualifiedNamespace: '{0}'; EventHubName: '{1}'; ConsumerGroup: '{2}'.")]
@@ -277,7 +277,7 @@ public virtual void ListCheckpointsStart(string fullyQualifiedNamespace,
277
277
/// <param name="consumerGroup">The name of the consumer group the checkpoints are associated with.</param>
278
278
/// <param name="checkpointCount">The amount of checkpoints received from the storage service.</param>
279
279
///
280
-
[Event(30,Level=EventLevel.Informational,Message="Completed listing checkpoints for FullyQualifiedNamespace: '{0}'; EventHubName: '{1}'; ConsumerGroup: '{2}'. There were '{3}' checkpoints found.")]
280
+
[Event(30,Level=EventLevel.Verbose,Message="Completed listing checkpoints for FullyQualifiedNamespace: '{0}'; EventHubName: '{1}'; ConsumerGroup: '{2}'. There were '{3}' checkpoints found.")]
@@ -319,7 +319,7 @@ public virtual void ListCheckpointsError(string fullyQualifiedNamespace,
319
319
/// <param name="eventHubName">The name of the specific Event Hub the checkpoint is associated with, relative to the Event Hubs namespace that contains it.</param>
320
320
/// <param name="consumerGroup">The name of the consumer group the checkpoint is associated with.</param>
321
321
///
322
-
[Event(32,Level=EventLevel.Informational,Message="Starting to create/update a checkpoint for partition: `{0}` of FullyQualifiedNamespace: '{1}'; EventHubName: '{2}'; ConsumerGroup: '{3}'.")]
322
+
[Event(32,Level=EventLevel.Verbose,Message="Starting to create/update a checkpoint for partition: `{0}` of FullyQualifiedNamespace: '{1}'; EventHubName: '{2}'; ConsumerGroup: '{3}'.")]
@@ -340,7 +340,7 @@ public virtual void UpdateCheckpointStart(string partitionId,
340
340
/// <param name="eventHubName">The name of the specific Event Hub the checkpoint is associated with, relative to the Event Hubs namespace that contains it.</param>
341
341
/// <param name="consumerGroup">The name of the consumer group the checkpoint is associated with.</param>
342
342
///
343
-
[Event(33,Level=EventLevel.Informational,Message="Completed the attempt to create/update a checkpoint for partition: `{0}` of FullyQualifiedNamespace: '{1}'; EventHubName: '{2}'; ConsumerGroup: '{3}'.")]
343
+
[Event(33,Level=EventLevel.Verbose,Message="Completed the attempt to create/update a checkpoint for partition: `{0}` of FullyQualifiedNamespace: '{1}'; EventHubName: '{2}'; ConsumerGroup: '{3}'.")]
0 commit comments