api-layer icon indicating copy to clipboard operation
api-layer copied to clipboard

Incorrect log ID formatting?

Open 1000TurquoisePogs opened this issue 3 years ago • 4 comments

I've noticed that some or all of our servers have messages with program IDs that don't match the name of the process or job.

Consider, in v2 the default job ID for the gateway is ZWE1AG. Yet in the logs, I see timestamp <ZWEAGW1:main:pid> Our users cannot be expected to remember the mappings of these things. This is also a problem with the app-server, but I think we should all come together on revising the IDs to match the jobnames as the jobnames appear to follow the format of $ZWE_zowe_job_prefix+<some 2 letter suffix>

1000TurquoisePogs avatar Nov 30 '22 15:11 1000TurquoisePogs

This does sound like a good thing. We agreed that definitely the result should be the job id one.

The only concern is that some users may be depending on this behavior for automation and as such we would probably wait till V3 and do it on major version boundary to limit the impact of potentially breaking change.

What is your opinion?

balhar-jakub avatar Dec 07 '22 13:12 balhar-jakub

Can we satisfy both old and new behavior with configuration, so that it isn't a breaking change? It's true, I don't even know if our testing automation expects a certain format today so it could break things if it were a new default.

1000TurquoisePogs avatar Dec 07 '22 13:12 1000TurquoisePogs

Yes, I believe we should implement it sooner and hide behind the configuration. Let the people know that it's there and then later on with V3 change the default. That's what we've done with the routes.

balhar-jakub avatar Dec 08 '22 09:12 balhar-jakub

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Apr 14 '24 20:04 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Jul 26 '24 12:07 github-actions[bot]