Get rid of log file
This commit is contained in:
parent
9410cbf6a5
commit
9334c3a47d
12
Cargo.lock
generated
12
Cargo.lock
generated
@ -146,7 +146,6 @@ dependencies = [
|
|||||||
"sqlx",
|
"sqlx",
|
||||||
"tokio",
|
"tokio",
|
||||||
"tracing",
|
"tracing",
|
||||||
"tracing-appender",
|
|
||||||
"tracing-futures",
|
"tracing-futures",
|
||||||
"tracing-subscriber",
|
"tracing-subscriber",
|
||||||
"url",
|
"url",
|
||||||
@ -1938,17 +1937,6 @@ dependencies = [
|
|||||||
"tracing-core",
|
"tracing-core",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "tracing-appender"
|
|
||||||
version = "0.1.1"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "7aa52d56cc0d79ab604e8a022a1cebc4de33cf09dc9933c94353bea2e00d6e88"
|
|
||||||
dependencies = [
|
|
||||||
"chrono",
|
|
||||||
"crossbeam-channel",
|
|
||||||
"tracing-subscriber",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tracing-attributes"
|
name = "tracing-attributes"
|
||||||
version = "0.1.9"
|
version = "0.1.9"
|
||||||
|
@ -28,7 +28,6 @@ url = "2.1"
|
|||||||
async-trait = "0.1"
|
async-trait = "0.1"
|
||||||
seahash = "4.0"
|
seahash = "4.0"
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
tracing-appender = "0.1"
|
|
||||||
tracing-subscriber = "0.2"
|
tracing-subscriber = "0.2"
|
||||||
tracing-futures = "0.2"
|
tracing-futures = "0.2"
|
||||||
lru = "0.5"
|
lru = "0.5"
|
||||||
|
@ -21,7 +21,4 @@ COPY --from=builder \
|
|||||||
/home/rust/src/target/x86_64-unknown-linux-musl/release/bazaar_realm_api \
|
/home/rust/src/target/x86_64-unknown-linux-musl/release/bazaar_realm_api \
|
||||||
/usr/local/bin/
|
/usr/local/bin/
|
||||||
|
|
||||||
# forward request and error logs to docker log collector
|
|
||||||
RUN ln -sf /dev/stdout /var/log/bazaarrealm.log
|
|
||||||
|
|
||||||
CMD /usr/local/bin/bazaar_realm_api
|
CMD /usr/local/bin/bazaar_realm_api
|
Loading…
Reference in New Issue
Block a user