@@ -18,7 +18,6 @@ import (
18
18
"github.com/digital-dream-labs/vector-cloud/internal/ipc"
19
19
"github.com/digital-dream-labs/vector-cloud/internal/jdocs"
20
20
"github.com/digital-dream-labs/vector-cloud/internal/log"
21
- "github.com/digital-dream-labs/vector-cloud/internal/logcollector"
22
21
"github.com/digital-dream-labs/vector-cloud/internal/robot"
23
22
"github.com/digital-dream-labs/vector-cloud/internal/token"
24
23
"github.com/digital-dream-labs/vector-cloud/internal/voice"
@@ -145,7 +144,7 @@ func main() {
145
144
ms := flag .Bool ("ms" , false , "force microsoft handling on the server end" )
146
145
lex := flag .Bool ("lex" , false , "force amazon handling on the server end" )
147
146
148
- awsRegion := flag .String ("region" , "us-west-2" , "AWS Region" )
147
+ // awsRegion := flag.String("region", "us-west-2", "AWS Region")
149
148
150
149
flag .Parse ()
151
150
@@ -207,11 +206,12 @@ func main() {
207
206
options = append (options , cloudproc .WithTokenOptions (tokenOpts ... ))
208
207
options = append (options , cloudproc .WithJdocs (jdocs .WithServer ()))
209
208
210
- logcollectorOpts := []logcollector.Option {logcollector .WithServer ()}
211
- logcollectorOpts = append (logcollectorOpts , logcollector .WithHTTPClient (getHTTPClient ()))
212
- logcollectorOpts = append (logcollectorOpts , logcollector .WithS3UrlPrefix (config .Env .LogFiles ))
213
- logcollectorOpts = append (logcollectorOpts , logcollector .WithAwsRegion (* awsRegion ))
214
- options = append (options , cloudproc .WithLogCollectorOptions (logcollectorOpts ... ))
209
+ // disable the STUPID log collector. holy shit
210
+ // logcollectorOpts := []logcollector.Option{logcollector.WithServer()}
211
+ // logcollectorOpts = append(logcollectorOpts, logcollector.WithHTTPClient(getHTTPClient()))
212
+ // logcollectorOpts = append(logcollectorOpts, logcollector.WithS3UrlPrefix(config.Env.LogFiles))
213
+ // logcollectorOpts = append(logcollectorOpts, logcollector.WithAwsRegion(*awsRegion))
214
+ //options = append(options, cloudproc.WithLogCollectorOptions(logcollectorOpts...))
215
215
216
216
cloudproc .Run (context .Background (), options ... )
217
217
0 commit comments