You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Artur Khanin (Jira)" <ji...@apache.org> on 2021/10/15 08:41:00 UTC

[jira] [Work started] (BEAM-13032) [Playground] Log service

     [ https://issues.apache.org/jira/browse/BEAM-13032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on BEAM-13032 started by Pavel Avilov.
-------------------------------------------
> [Playground] Log service
> ------------------------
>
>                 Key: BEAM-13032
>                 URL: https://issues.apache.org/jira/browse/BEAM-13032
>             Project: Beam
>          Issue Type: New Feature
>          Components: beam-playground
>            Reporter: Ilya Kozyrev
>            Assignee: Pavel Avilov
>            Priority: P3
>
> As a *maintainer*,
> I want a package for effective and structured logging, which I can use in any go code in Beam playground. 
>  I prefer to use Cloud Logging's similar log structure, and I would like to have a standard interface for logging with main Info, Warn, Error, etc., methods.
> *Acceptance criteria*
>  # Logging structure implemented with standard functions including formatting option 
>  ## {{logger.Info("some string")}}
>  ## {{logger.Infof("some string %s", "substring")}}
>  # The logging structure uses [Cloud logging|https://pkg.go.dev/google.golang.org/cloud/logging] to create [Entry|https://pkg.go.dev/google.golang.org/cloud/logging#Entry]. For this purpose
>  # Logging writes in stdout and stderr using Go native – instead of grpclog
>  ## log.{{log.Print(logging.Entry{})}}
>  # Logging structure implemented JSON marshal to convert Entry into JSON
>  # All log occurrences are replaced with a new logging structure
>  # Log Entries captured with Cloud Logging when Playground runs in AppEngine. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)