Skip to content

Migrate from logrus to log/slog #586

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 18 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "Pass firecracker log level through jailer"
This reverts commit fe67294.

Signed-off-by: Swagat Bora <[email protected]>
Signed-off-by: Jordan Rash <[email protected]>
  • Loading branch information
swagatbora90 authored and jordan-rash committed Jul 24, 2024
commit abfeb6dd33450caa83e7b6e26f49e12008be6833
4 changes: 0 additions & 4 deletions jailer.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,6 @@ func jail(ctx context.Context, m *Machine, cfg *Config) error {
fcArgs := seccompArgs(cfg)
fcArgs = append(fcArgs, "--api-sock", machineSocketPath)

if cfg.LogLevel != "" {
fcArgs = append(fcArgs, "--level", cfg.LogLevel)
}

builder := NewJailerCommandBuilder().
WithID(cfg.JailerCfg.ID).
WithUID(*cfg.JailerCfg.UID).
Expand Down