Skip to content

Commit

Permalink
Merge pull request #878 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
chore: fixed command-line log-level settings
  • Loading branch information
UltraInstinct14 authored Nov 16, 2024
2 parents f6222d6 + 7dfe237 commit c192b46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var Opts struct {
TLSCertificateKey flags.Filename `long:"tls-key" description:"the private key to use for secure connections" default:"/opt/loxilb/cert/server.key" env:"TLS_PRIVATE_KEY"`
ClusterNodes string `long:"cluster" description:"Comma-separated list of cluter-node IP Addresses" default:"none"`
ClusterSelf int `long:"self" description:"annonation of self in cluster" default:"0"`
LogLevel string `long:"loglevel" description:"One of debug,info,error,warning,notice,critical,emergency,alert" default:"debug"`
LogLevel string `long:"loglevel" description:"One of trace,debug,info,error,warning,notice,critical,emergency,alert" default:"debug"`
CPUProfile string `long:"cpuprofile" description:"Enable cpu profiling and specify file to use" default:"none" env:"CPUPROF"`
Prometheus bool `short:"p" long:"prometheus" description:"Run prometheus thread"`
CRC32SumDisable bool `long:"disable-crc32" description:"Disable crc32 checksum update(experimental)"`
Expand Down
2 changes: 1 addition & 1 deletion pkg/loxinet/loxinet.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ func loxiNetInit() {
RunCommand(MkMountCG2, false)
}
// Initialize the ebpf datapath subsystem
mh.dpEbpf = DpEbpfInit(clusterMode, mh.rssEn, mh.eHooks, mh.lSockPolicy, mh.sockMapEn, mh.self, mh.disBPF, -1)
mh.dpEbpf = DpEbpfInit(clusterMode, mh.rssEn, mh.eHooks, mh.lSockPolicy, mh.sockMapEn, mh.self, mh.disBPF, logLevel)
mh.dp = DpBrokerInit(mh.dpEbpf, rpcMode)

// Initialize the security zone subsystem
Expand Down

0 comments on commit c192b46

Please sign in to comment.