Hi,
The ability to lower the log level of the containers sdtout, and/or the frequency of ping checks would be useful to implement.
Thanks.
Originally created by @boomam on GitHub (May 5, 2025).
Original GitHub issue: https://github.com/fosrl/newt/issues/35
Hi,
The ability to lower the log level of the containers sdtout, and/or the frequency of ping checks would be useful to implement.
Thanks.
@oschwartz10612 commented on GitHub (May 5, 2025):
This needs to be documented better but you can actually use --log-level or LOG_LEVEL.
$ ./newt --help
Usage of ./newt:
-accept-clients
Accept clients on the WireGuard interface
-dns string
DNS server to use (default "8.8.8.8")
-endpoint string
Endpoint of your pangolin server
-generateAndSaveKeyTo string
Path to save generated private key (default "/tmp/newtkey")
-id string
Newt ID
-interface string
Name of the WireGuard interface (default "wg1")
-log-level string
Log level (DEBUG, INFO, WARN, ERROR, FATAL) (default "INFO")
-mtu string
MTU to use (default "1280")
-rm
Remove the WireGuard interface
-secret string
Newt secret
-updown string
Path to updown script to be called when targets are added or removed
-version
Print the version
I am going to close this for now but feel free to reopen if this does not meet your needs.
<!-- gh-comment-id:2852158314 -->
@oschwartz10612 commented on GitHub (May 5, 2025):
This needs to be documented better but you can actually use `--log-level` or `LOG_LEVEL`.
```
$ ./newt --help
Usage of ./newt:
-accept-clients
Accept clients on the WireGuard interface
-dns string
DNS server to use (default "8.8.8.8")
-endpoint string
Endpoint of your pangolin server
-generateAndSaveKeyTo string
Path to save generated private key (default "/tmp/newtkey")
-id string
Newt ID
-interface string
Name of the WireGuard interface (default "wg1")
-log-level string
Log level (DEBUG, INFO, WARN, ERROR, FATAL) (default "INFO")
-mtu string
MTU to use (default "1280")
-rm
Remove the WireGuard interface
-secret string
Newt secret
-updown string
Path to updown script to be called when targets are added or removed
-version
Print the version
```
I am going to close this for now but feel free to reopen if this does not meet your needs.
Thanks - i redeployed my helm chart with LOG_LEVEL added and it appears to be a lot quieter in the logs now.
Are the other variables you mention compatible with using them as environment variables, too?
For example -
MTU = 1500
DNS = 8.8.8.8
GENERATE_AND_SAVE_KEY = /temp/newtkey
etc...
?
<!-- gh-comment-id:2852317986 -->
@boomam commented on GitHub (May 5, 2025):
Thanks - i redeployed my helm chart with LOG_LEVEL added and it appears to be a lot quieter in the logs now.
Are the other variables you mention compatible with using them as environment variables, too?
For example -
MTU = 1500
DNS = 8.8.8.8
GENERATE_AND_SAVE_KEY = /temp/newtkey
etc...
?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @boomam on GitHub (May 5, 2025).
Original GitHub issue: https://github.com/fosrl/newt/issues/35
Hi,
The ability to lower the log level of the containers sdtout, and/or the frequency of ping checks would be useful to implement.
Thanks.
@oschwartz10612 commented on GitHub (May 5, 2025):
This needs to be documented better but you can actually use
--log-levelorLOG_LEVEL.I am going to close this for now but feel free to reopen if this does not meet your needs.
@boomam commented on GitHub (May 5, 2025):
Thanks - i redeployed my helm chart with LOG_LEVEL added and it appears to be a lot quieter in the logs now.
Are the other variables you mention compatible with using them as environment variables, too?
For example -
MTU = 1500
DNS = 8.8.8.8
GENERATE_AND_SAVE_KEY = /temp/newtkey
etc...
?