File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ async fn main() -> Result<(), Box<dyn Error>> {
6363 if let Some ( cmd) = cli_opt. command {
6464 return run_subcommand ( cmd) . await ;
6565 }
66- println ! ( "version:{}, RUST_LOG:{}" , get_app_version( ) , & rust_log) ;
67- println ! ( "data dir:{}" , sys_config. local_db_dir) ;
66+ log :: info !( "version:{}, RUST_LOG:{}" , get_app_version( ) , & rust_log) ;
67+ log :: info !( "data dir:{}" , sys_config. local_db_dir) ;
6868 let factory_data = config_factory ( sys_config. clone ( ) ) . await ?;
6969 let app_data = build_share_data ( factory_data. clone ( ) ) ?;
7070 let http_addr = sys_config. get_http_addr ( ) ;
@@ -125,7 +125,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
125125 if let Some ( num) = sys_config. http_workers {
126126 server = server. workers ( num) ;
127127 }
128- println ! ( "rnacos started" ) ;
128+ log :: info !( "rnacos started" ) ;
129129 server. bind ( http_addr) ?. run ( ) . await ?;
130130 Ok ( ( ) )
131131}
You can’t perform that action at this time.
0 commit comments