@@ -10,7 +10,7 @@ internal static class LoggerExtensions
1010 LoggerMessage . Define < string , string , string > (
1111 LogLevel . Trace ,
1212 new EventId ( 0 , nameof ( RecordWebHook ) ) ,
13- "Process web hook call: id={Id } project={ProjectId } url={Url}" ) ;
13+ "Process web hook call: id={WebHook } project={Project } url={Url}" ) ;
1414
1515 private static readonly Action < ILogger , Exception ? > _webHookCancelled =
1616 LoggerMessage . Define (
@@ -28,25 +28,25 @@ internal static class LoggerExtensions
2828 LoggerMessage . Define < HttpStatusCode ? , string , string , string > (
2929 LogLevel . Error ,
3030 new EventId ( 3 , nameof ( WebHookTimeout ) ) ,
31- "Timeout calling web hook: status={Status} org={organization } project={ProjectId } url={Url}" ) ;
31+ "Timeout calling web hook: status={Status} organization={Organization } project={Project } url={Url}" ) ;
3232
3333 private static readonly Action < ILogger , HttpStatusCode ? , string , string , string , Exception ? > _webHookError =
3434 LoggerMessage . Define < HttpStatusCode ? , string , string , string > (
3535 LogLevel . Error ,
3636 new EventId ( 4 , nameof ( WebHookError ) ) ,
37- "Error calling web hook: status={Status} org={organization } project={ProjectId } url={Url}" ) ;
37+ "Error calling web hook: status={Status} organization={Organization } project={Project } url={Url}" ) ;
3838
3939 private static readonly Action < ILogger , HttpStatusCode ? , string , string , string , Exception ? > _webHookComplete =
4040 LoggerMessage . Define < HttpStatusCode ? , string , string , string > (
4141 LogLevel . Information ,
4242 new EventId ( 5 , nameof ( WebHookError ) ) ,
43- "Web hook POST complete: status={Status} org={organization } project={ProjectId } url={Url}" ) ;
43+ "Web hook POST complete: status={Status} organization={Organization } project={Project } url={Url}" ) ;
4444
4545 private static readonly Action < ILogger , string , HttpStatusCode ? , string , string , string , Exception ? > _webHookDisabledStatusCode =
4646 LoggerMessage . Define < string , HttpStatusCode ? , string , string , string > (
4747 LogLevel . Warning ,
4848 new EventId ( 6 , nameof ( WebHookDisabledStatusCode ) ) ,
49- "Disabling Web hook instance {WebHookId} due to status code: status={Status} org={organization } project={ProjectId } url={Url}" ) ;
49+ "Disabling Web hook instance {WebHookId} due to status code: status={Status} organization={Organization } project={Project } url={Url}" ) ;
5050
5151 private static readonly Action < ILogger , string , Exception ? > _webHookDisabledTooManyErrors =
5252 LoggerMessage . Define < string > (
@@ -82,25 +82,25 @@ internal static class LoggerExtensions
8282 LoggerMessage . Define < string , string > (
8383 LogLevel . Information ,
8484 new EventId ( 12 , nameof ( RemoveOrganizationStart ) ) ,
85- "Removing organization: {Organization } ({OrganizationId })" ) ;
85+ "Removing organization: {OrganizationName } ({Organization })" ) ;
8686
8787 private static readonly Action < ILogger , string , string , long , long , long , Exception ? > _removeOrganizationComplete =
8888 LoggerMessage . Define < string , string , long , long , long > (
8989 LogLevel . Information ,
9090 new EventId ( 14 , nameof ( RemoveOrganizationComplete ) ) ,
91- "Removed organization: {Organization } ({OrganizationId }), Removed {RemovedProjects} Projects, {RemovedStacks} Stacks, {RemovedEvents} Events" ) ;
91+ "Removed organization: {OrganizationName } ({Organization }), Removed {RemovedProjects} Projects, {RemovedStacks} Stacks, {RemovedEvents} Events" ) ;
9292
9393 private static readonly Action < ILogger , string , string , Exception ? > _removeProjectStart =
9494 LoggerMessage . Define < string , string > (
9595 LogLevel . Information ,
9696 new EventId ( 15 , nameof ( RemoveProjectStart ) ) ,
97- "Removing project: {Project } ({ProjectId })" ) ;
97+ "Removing project: {ProjectName } ({Project })" ) ;
9898
9999 private static readonly Action < ILogger , string , string , long , long , Exception ? > _removeProjectComplete =
100100 LoggerMessage . Define < string , string , long , long > (
101101 LogLevel . Information ,
102102 new EventId ( 16 , nameof ( RemoveProjectComplete ) ) ,
103- "Removed project: {Project } ({ProjectId }), Removed {RemovedStacks} Stacks, {RemovedEvents} Events" ) ;
103+ "Removed project: {ProjectName } ({Project }), Removed {RemovedStacks} Stacks, {RemovedEvents} Events" ) ;
104104
105105
106106 private static readonly Action < ILogger , long , long , Exception ? > _removeStacksComplete =
@@ -113,25 +113,25 @@ internal static class LoggerExtensions
113113 LoggerMessage . Define < DateTime , string , string , long > (
114114 LogLevel . Information ,
115115 new EventId ( 18 , nameof ( RetentionEnforcementStackStart ) ) ,
116- "Enforcing stack retention period older than {RetentionPeriod:g} for organization {OrganizationName} ({OrganizationId }), Found {TotalStacks} Stacks" ) ;
116+ "Enforcing stack retention period older than {RetentionPeriod:g} for organization {OrganizationName} ({Organization }), Found {TotalStacks} Stacks" ) ;
117117
118118 private static readonly Action < ILogger , string , string , long , Exception ? > _retentionEnforcementStackComplete =
119119 LoggerMessage . Define < string , string , long > (
120120 LogLevel . Information ,
121121 new EventId ( 19 , nameof ( RetentionEnforcementStackComplete ) ) ,
122- "Enforced stack retention period for {OrganizationName} ({OrganizationId }), Removed {RemovedStacks} Stacks" ) ;
122+ "Enforced stack retention period for {OrganizationName} ({Organization }), Removed {RemovedStacks} Stacks" ) ;
123123
124124 private static readonly Action < ILogger , DateTime , string , string , Exception ? > _retentionEnforcementEventStart =
125125 LoggerMessage . Define < DateTime , string , string > (
126126 LogLevel . Information ,
127127 new EventId ( 20 , nameof ( RetentionEnforcementEventStart ) ) ,
128- "Enforcing event retention period older than {RetentionPeriod:g} for organization {OrganizationName} ({OrganizationId })." ) ;
128+ "Enforcing event retention period older than {RetentionPeriod:g} for organization {OrganizationName} ({Organization })." ) ;
129129
130130 private static readonly Action < ILogger , string , string , long , Exception ? > _retentionEnforcementEventComplete =
131131 LoggerMessage . Define < string , string , long > (
132132 LogLevel . Information ,
133133 new EventId ( 21 , nameof ( RetentionEnforcementEventComplete ) ) ,
134- "Enforced event retention period for {OrganizationName} ({OrganizationId }), Removed {RemovedEvents} Events" ) ;
134+ "Enforced event retention period for {OrganizationName} ({Organization }), Removed {RemovedEvents} Events" ) ;
135135
136136 public static void RemoveStacksComplete ( this ILogger logger , long removedStacks , long removedEvents )
137137 => _removeStacksComplete ( logger , removedStacks , removedEvents , null ) ;
0 commit comments