shunping commented on code in PR #36538:
URL: https://github.com/apache/beam/pull/36538#discussion_r2437978476


##########
sdks/go/pkg/beam/runners/prism/internal/worker/worker.go:
##########
@@ -245,7 +245,7 @@ func (wk *W) Logging(stream 
fnpb.BeamFnLogging_LoggingServer) error {
                                attrs = append(attrs, slog.Group("customData", 
grp...))
                        }
 
-                       if beamlog.LogLevel == "debug" {
+                       if logconfig.LogLevel == "debug" {

Review Comment:
   In the previous implementation, we have global logger and job logger, but 
the job logger is set to be the same as the global logger. Therefore, we assume 
the global settings are shared among different jobs. Do we want to change this 
assumption?
   
   
https://github.com/apache/beam/blob/34a6f542a7fcf6536335be57b4dc69e4ddbd7cb8/sdks/go/pkg/beam/runners/prism/internal/jobservices/management.go#L101
   
   If so, we will need to plumb job logger into different components (mainly 
elementmanager), and replace all general slog calls with job logger calls.
   
   Does this sound the right path to move forward? @lostluck 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to