Fluid-Dynamics-Group / distribute

easy to use distribtued computing
https://fluid-dynamics-group.github.io/distribute-docs
GNU General Public License v3.0
1 stars 0 forks source link

tracing logs that are sent to stdout and a file are unreadable in file format #26

Open VanillaBrooks opened 1 year ago

VanillaBrooks commented 1 year ago

stdout log:

2023-01-24T00:49:59.295903Z DEBUG distribute::server: starting server
2023-01-24T00:49:59.296050Z DEBUG distribute::server: finished loading nodes config
2023-01-24T00:49:59.298182Z DEBUG distribute::server: creating an output folder for the server
2023-01-24T00:49:59.298243Z  INFO distribute::server: including matrix client in job run
2023-01-24T00:49:59.298405Z DEBUG distribute::server::user_conn: binding to listener
2023-01-24T00:49:59.298458Z DEBUG distribute::server::user_conn: finished binding to port
2023-01-24T00:49:59.347412Z DEBUG hyper::client::connect::dns: resolving host="matrix.org"
2023-01-24T00:49:59.370386Z DEBUG send_request{request_type="ruma_client_api::discovery::get_supported_versions::Request" http_client="hyper::client::client::Client<hyper_tls::client::HttpsConnector<hyper::client::connect::http::HttpConnector>>" homeserver_url="https://matrix.org"}: hyper::client::connect::http: connecting to 104.20.201.37:443
2023-01-24T00:49:59.378292Z DEBUG send_request{request_type="ruma_client_api::discovery::get_supported_versions::Request" http_client="hyper::client::client::Client<hyper_tls::client::HttpsConnector<hyper::client::connect::http::HttpConnector>>" homeserver_url="https://matrix.org"}: hyper::client::connect::http: connected to 104.20.201.37:443
2023-01-24T00:49:59.390488Z DEBUG hyper::proto::h1::io: flushed 59 bytes
2023-01-24T00:49:59.597658Z DEBUG hyper::proto::h1::io: parsed 14 headers

file log:

^[[2m2023-01-24T00:49:59.295903Z^[[0m ^[[34mDEBUG^[[0m ^[[2mdistribute::server^[[0m^[[2m:^[[0m starting server
^[[2m2023-01-24T00:49:59.296050Z^[[0m ^[[34mDEBUG^[[0m ^[[2mdistribute::server^[[0m^[[2m:^[[0m finished loading nodes config
^[[2m2023-01-24T00:49:59.298182Z^[[0m ^[[34mDEBUG^[[0m ^[[2mdistribute::server^[[0m^[[2m:^[[0m creating an output folder for the server
^[[2m2023-01-24T00:49:59.298243Z^[[0m ^[[32m INFO^[[0m ^[[2mdistribute::server^[[0m^[[2m:^[[0m including matrix client in job run
^[[2m2023-01-24T00:49:59.298405Z^[[0m ^[[34mDEBUG^[[0m ^[[2mdistribute::server::user_conn^[[0m^[[2m:^[[0m binding to listener
^[[2m2023-01-24T00:49:59.298458Z^[[0m ^[[34mDEBUG^[[0m ^[[2mdistribute::server::user_conn^[[0m^[[2m:^[[0m finished binding to port
^[[2m2023-01-24T00:49:59.347412Z^[[0m ^[[34mDEBUG^[[0m ^[[2mhyper::client::connect::dns^[[0m^[[2m:^[[0m resolving host="matrix.org"
^[[2m2023-01-24T00:49:59.370386Z^[[0m ^[[34mDEBUG^[[0m ^[[1msend_request^[[0m^[[1m{^[[0m^[[3mrequest_type^[[0m^[[2m=^[[0m"ruma_client_api::discovery::get_supported_versions::Request" ^[[3mhttp_client^[[0m^[[2m=^[[0m"hyper::client::client::Client<hyper_tls::client::HttpsC
^[[2m2023-01-24T00:49:59.378292Z^[[0m ^[[34mDEBUG^[[0m ^[[1msend_request^[[0m^[[1m{^[[0m^[[3mrequest_type^[[0m^[[2m=^[[0m"ruma_client_api::discovery::get_supported_versions::Request" ^[[3mhttp_client^[[0m^[[2m=^[[0m"hyper::client::client::Client<hyper_tls::client::HttpsC
^[[2m2023-01-24T00:49:59.390488Z^[[0m ^[[34mDEBUG^[[0m ^[[2mhyper::proto::h1::io^[[0m^[[2m:^[[0m flushed 59 bytes
^[[2m2023-01-24T00:49:59.597658Z^[[0m ^[[34mDEBUG^[[0m ^[[2mhyper::proto::h1::io^[[0m^[[2m:^[[0m parsed 14 headers
^[[2m2023-01-24T00:49:59.597708Z^[[0m ^[[34mDEBUG^[[0m ^[[2mhyper::proto::h1::conn^[[0m^[[2m:^[[0m incoming body is chunked encoding
^[[2m2023-01-24T00:49:59.597753Z^[[0m ^[[34mDEBUG^[[0m ^[[2mhyper::proto::h1::decode^[[0m^[[2m:^[[0m incoming chunked header: 0x314 (788 bytes)
^[[2m2023-01-24T00:49:59.597820Z^[[0m ^[[34mDEBUG^[[0m ^[[2mhyper::proto::h1::conn^[[0m^[[2m:^[[0m incoming body completed
^[[2m2023-01-24T00:49:59.597860Z^[[0m ^[[34mDEBUG^[[0m ^[[2mhyper::client::pool^[[0m^[[2m:^[[0m pooling idle connection for ("https", matrix.org)
^[[2m2023-01-24T00:49:59.597992Z^[[0m ^[[34mDEBUG^[[0m ^[[1msend_request^[[0m^[[1m{^[[0m^[[3mrequest_type^[[0m^[[2m=^[[0m"ruma_client_api::session::login::v3::Request" ^[[3mhttp_client^[[0m^[[2m=^[[0m"hyper::client::client::Client<hyper_tls::client::HttpsConnector<hyper:
^[[2m2023-01-24T00:49:59.598095Z^[[0m ^[[34mDEBUG^[[0m ^[[2mhyper::proto::h1::io^[[0m^[[2m:^[[0m flushed 237 bytes
^[[2m2023-01-24T00:50:00.216585Z^[[0m ^[[34mDEBUG^[[0m ^[[2mhyper::proto::h1::io^[[0m^[[2m:^[[0m parsed 14 headers
^[[2m2023-01-24T00:50:00.216646Z^[[0m ^[[34mDEBUG^[[0m ^[[2mhyper::proto::h1::conn^[[0m^[[2m:^[[0m incoming body is chunked encoding
^[[2m2023-01-24T00:50:00.216665Z^[[0m ^[[34mDEBUG^[[0m ^[[2mhyper::proto::h1::decode^[[0m^[[2m:^[[0m incoming chunked header: 0xF0 (240 bytes)
^[[2m2023-01-24T00:50:00.216737Z^[[0m ^[[34mDEBUG^[[0m ^[[2mhyper::proto::h1::conn^[[0m^[[2m:^[[0m incoming body completed
^[[2m2023-01-24T00:50:00.216766Z^[[0m ^[[34mDEBUG^[[0m ^[[2mhyper::client::pool^[[0m^[[2m:^[[0m pooling idle connection for ("https", matrix.org)
^[[2m2023-01-24T00:50:00.216842Z^[[0m ^[[32m INFO^[[0m ^[[2mdistribute::server^[[0m^[[2m:^[[0m starting job pool task
^[[2m2023-01-24T00:50:00.216943Z^[[0m ^[[32m INFO^[[0m ^[[2mdistribute::server::node^[[0m^[[2m:^[[0m initializing connection to lab2 : 134.197.27.105:8953