Comments (4)
@da2ce7 is adding/renaming logging fields in a new PR: https://github.com/torrust/torrust-tracker/pull/782/files
Current:
log_level = "info"
New:
trace_filter = "info"
trace_style = "full"
from torrust-tracker.
There is no way to overwrite a single item in a TOML array. See here.
The default configuration contains a disabled UDP tracker:
[[udp_trackers]]
enabled = false
bind_address = "0.0.0.0:6969"
The new default configuration will not contain any UDP tracker configuration. Disabled means not present in the configuration. SO we need to add this:
[[udp_trackers]]
bind_address = "0.0.0.0:6969"
to the TOML templates where we want the UDP tracker to be enabled, instead of just:
[[udp_trackers]]
enabled = true
from torrust-tracker.
There is no way to overwrite a single item in a TOML array. See here.
The default configuration contains a disabled UDP tracker:
[[udp_trackers]] enabled = false bind_address = "0.0.0.0:6969"The new default configuration will not contain any UDP tracker configuration. Disabled means not present in the configuration. SO we need to add this:
[[udp_trackers]] bind_address = "0.0.0.0:6969"to the TOML templates where we want the UDP tracker to be enabled, instead of just:
[[udp_trackers]] enabled = true
I don't see a way to override the whole http_api
dict to disable the HTTP API if we remove the enabled
key. That forces us to disable the HTTP API by default. See SergioBenitez/Figment#108
Maybe disabling the API by default is not a bad idea. In fact, we are somehow doing that because the bind address uses the 127.0.0.1
IP, which makes the API inaccessible from outside.
If you don't need the API at all, this is a safer default config.
from torrust-tracker.
These changes affect other repos:
- torrust/torrust-index#635
- torrust/torrust-index-gui#577
- torrust/torrust-compose#20
- torrust/torrust-website#208
from torrust-tracker.
Related Issues (20)
- Error building the tracker: `unresolved import std::hash::DefaultHasher` HOT 1
- Move from `log` to `tracing` crate
- New config option for logging style
- Enable colour in console output HOT 2
- Docker build is failing: `failed to load bitcode of module "criterion-af9a3f7183f1573d.criterion.b69900c842eb33fa-cgu.08.rcgu.o"`
- Running unit test in coverage workflow is failing HOT 3
- Add a workflow to run a basic benchmark for the UDP tracker
- Remove log output from UDP tracker client
- UDP server: alternative implementation to avoid aborting too many requests HOT 1
- Config overhaul: split tracker mode
- Fix docker warning in `Containerfile`
- Config overhaul: improve admin experience
- Config overhaul: rename `log_level` to `threshold`
- Config overhaul: add version and namespace to the configuration HOT 2
- Config overhaul: make some fields mandatory (remove default value) HOT 1
- Config overhaul: define current config version as version 2
- Config overhaul: remove secrets when final config is printed to console
- Config overhaul: lowercase for `DatabaseDriver` HOT 1
- Config overhaul: use an explicit section for metadata HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torrust-tracker.