in the WINDOW11 is correct, BUT THE LOG IN THE LINUX IS ERROR, THE LOGS as BELOW:
2023-09-10T17:26:29.69398601+08:00
< unknown time >
when server start, the log can display correct time info,but after that, the time info change to < unknown time >
THE problem AT THE BEGINNING OF THE EACH LINE
2023-09-10T17:26:29.69398601+08:00 INFO actix_server::builder: starting 2 workers
2023-09-10T17:26:29.69435411+08:00 INFO actix_server::server: Actix runtime found; starting in Actix runtime
< unknown time > INFO sqlx::query: summary="SET sql_mode=(SELECT CONCAT(@@sql_mode, ',PIPES_AS_CONCAT,NO_ENGINE_SUBSTITUTION')),time_zone='+00:00',NAMES …" db.statement="\n\nSET\n sql_mode =(\n SELECT\n CONCAT(\n @ @sql_mode,\n ',PIPES_AS_CONCAT,NO_ENGINE_SUBSTITUTION'\n )\n ),\n time_zone = '+00:00',\n NAMES utf8mb4 COLLATE utf8mb4_unicode_ci;\n" rows_affected=0 rows_returned=0 elapsed=1.5326ms
< unknown time > INFO actix_server::server: SIGINT received; starting forced shutdown
< unknown time > INFO actix_server::accept: accept thread stopped
< unknown time > INFO actix_server::worker: shutting down idle worker
< unknown time > INFO actix_server::worker: shutting down idle worker
Code
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "local-time"] }
Bug Report
The log show
< unknown time > INFO actix_server:: accept : accept thread stopped
in the Linux Centos7relate issue link
Version ^0.3.0
Platform
Linux localhost.localdomain 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Crates
Description
in the WINDOW11 is correct, BUT THE LOG IN THE LINUX IS ERROR, THE LOGS as BELOW:
2023-09-10T17:26:29.69398601+08:00
< unknown time >
when server start, the log can display correct time info,but after that, the time info change to
< unknown time >
THE problem AT THE BEGINNING OF THE EACH LINECode