Keep Run and Platform logs opaque
This commit is contained in:
@@ -27,7 +27,13 @@ func main() {
|
||||
|
||||
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
|
||||
defer stop()
|
||||
sequenceStore, err := companion.NewFileSnapshotSequenceStore(companion.SnapshotSequenceFilename)
|
||||
if err != nil {
|
||||
log.Printf("SCUM companion sequence state failed: %v", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
projection := companion.NewSCUMPlayerLogProjection(client, config.Component.ServerInstanceID)
|
||||
projection.SequenceStore = sequenceStore
|
||||
collector := companion.NewConsoleLogCollector(client, noopLogStore{}, config.Component.ServerInstanceID, os.Getenv(config.Proof.MaterialEnv))
|
||||
collector.OnSemanticEvents = projection.Handle
|
||||
runtime := companion.Runtime{
|
||||
|
||||
Reference in New Issue
Block a user