-
-
Notifications
You must be signed in to change notification settings - Fork 306
chore(logging): runtime-reconfigurable trace configuration #1998
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
Closed
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
d2272d7
implement another draft of tracing
CommanderStorm 57772c2
revert formatting change
CommanderStorm 4b44153
fix formatting
CommanderStorm 9a7e37a
fix more linting issues
CommanderStorm 107f25e
make the bare format even more bare
CommanderStorm 6dcd2ea
fix an compilation warnig for no default features
CommanderStorm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,12 +23,12 @@ maintainer = "Yuri Astrakhan <[email protected]>, Stepan Kuzmin <to.stepan | |
| maintainer-scripts = "../debian" | ||
| depends = "$auto" | ||
| assets = [ | ||
| ["target/release/martin", "/usr/bin/martin", "755"], | ||
| ["target/release/martin-cp", "/usr/bin/martin-cp", "755"], | ||
| ["target/release/mbtiles", "/usr/bin/mbtiles", "755"], | ||
| ["../README.md", "/usr/share/doc/martin/README.md", "644"], | ||
| ["../debian/config.yaml", "/usr/share/doc/martin/config.yaml", "644"], | ||
| ["../debian/config.yaml", "/usr/local/etc/martin/config.yaml", "644"], | ||
| ["target/release/martin","/usr/bin/martin","755"], | ||
| ["target/release/martin-cp","/usr/bin/martin-cp","755"], | ||
| ["target/release/mbtiles","/usr/bin/mbtiles","755"], | ||
| ["../README.md","/usr/share/doc/martin/README.md","644"], | ||
| ["../debian/config.yaml","/usr/share/doc/martin/config.yaml","644"], | ||
| ["../debian/config.yaml","/usr/local/etc/martin/config.yaml","644"], | ||
| ] | ||
|
|
||
| # see https://github.com/kornelski/cargo-deb/blob/main/systemd.md#packagemetadatadebsystemd-units-options | ||
|
|
@@ -56,14 +56,14 @@ name = "bench" | |
| harness = false | ||
|
|
||
| [features] | ||
| default = ["cog", "fonts", "lambda", "mbtiles", "metrics", "pmtiles", "postgres", "sprites", "styles", "webui"] | ||
| default = ["cog","fonts","lambda","mbtiles","metrics","pmtiles","postgres","sprites","styles","webui"] | ||
| cog = ["dep:png", "dep:tiff"] | ||
| fonts = ["dep:bit-set", "dep:pbf_font_tools", "dep:regex"] | ||
| lambda = ["dep:lambda-web"] | ||
| mbtiles = ["dep:mbtiles"] | ||
| metrics = ["dep:actix-web-prom"] | ||
| pmtiles = ["dep:aws-config", "dep:pmtiles"] | ||
| postgres = ["dep:deadpool-postgres", "dep:enum-display", "dep:json-patch", "dep:postgis", "dep:postgres", "dep:postgres-protocol", "dep:regex", "dep:rustls-native-certs", "dep:rustls-pemfile", "dep:semver", "dep:tokio-postgres-rustls"] | ||
| postgres = ["dep:deadpool-postgres","dep:enum-display","dep:json-patch","dep:postgis","dep:postgres","dep:postgres-protocol","dep:regex","dep:rustls-native-certs","dep:rustls-pemfile","dep:semver","dep:tokio-postgres-rustls"] | ||
| sprites = ["dep:spreet", "tokio/fs"] | ||
| styles = ["dep:walkdir", "tokio/fs"] | ||
| webui = ["dep:actix-web-static-files", "dep:static-files", "dep:walkdir"] | ||
|
|
@@ -116,6 +116,9 @@ tiff = { workspace = true, optional = true } | |
| tilejson.workspace = true | ||
| tokio = { workspace = true, features = ["io-std"] } | ||
| tokio-postgres-rustls = { workspace = true, optional = true } | ||
| tracing.workspace = true | ||
| tracing-log.workspace = true | ||
| tracing-subscriber.workspace = true | ||
| url.workspace = true | ||
| walkdir = { workspace = true, optional = true } | ||
| xxhash-rust.workspace = true | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.