mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2024-12-22 14:26:31 +00:00
chore: change some log's level to Info
This commit is contained in:
parent
74963fef64
commit
a777725f71
@ -48,12 +48,12 @@ func (pxy *Proxy) Start(ctx context.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if pxy.timeout > 0 {
|
if pxy.timeout > 0 {
|
||||||
logger.Debug().Msgf("connection timeout is set to %d ms", pxy.timeout)
|
logger.Info().Msgf("connection timeout is set to %d ms", pxy.timeout)
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.Info().Msgf("created a listener on port %d", pxy.port)
|
logger.Info().Msgf("created a listener on port %d", pxy.port)
|
||||||
if len(pxy.allowedPattern) > 0 {
|
if len(pxy.allowedPattern) > 0 {
|
||||||
logger.Debug().Msgf("number of white-listed pattern: %d", len(pxy.allowedPattern))
|
logger.Info().Msgf("number of white-listed pattern: %d", len(pxy.allowedPattern))
|
||||||
}
|
}
|
||||||
|
|
||||||
for {
|
for {
|
||||||
|
Loading…
Reference in New Issue
Block a user