Skip to content

Huge amount of log lines in Cloud Run Logs when using dig command #6123

@AndreiIgna

Description

@AndreiIgna

Continuing from here #1643

Description

Some projects deployed to Google Cloud Run generate huge amount of log lines like:
120392207-742ec200-c330-11eb-8c89-1232b1b86fad
This makes it really difficult to check other logs (requests, warnings, etc) and there's no easy way to hide these. Sometimes there are hundreds continuous lines that start with "Container Sandbox: Unsupported syscall setsockopt..."

After doing some checking & debugging, I noticed that these logs appear specifically when executing dig command for DNS queries.
The project from where the screenshot is taken uses this library @layered/dns-records

I've tried changing configs for dig, Docker or NodeJS, but those log lines are always shown.

Steps to reproduce

Deploy code that runs dig command.

Environment

Docker image is built & deployed by Google Cloud Build, from this config:

FROM node:14-alpine

# Install dig command
RUN apk update && apk add bind-tools

...

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions