mirror of https://github.com/PentHertz/srsLTE.git
log build info in eNB/EPC logs
This commit is contained in:
parent
273087ce00
commit
15d439761a
|
@ -85,6 +85,7 @@ bool enb::init(all_args_t *args_)
|
|||
} else {
|
||||
logger_file.init(args->log.filename, args->log.file_max_size);
|
||||
logger_file.log("\n\n");
|
||||
logger_file.log(get_build_string().c_str());
|
||||
logger = &logger_file;
|
||||
}
|
||||
|
||||
|
|
|
@ -330,6 +330,8 @@ main (int argc,char * argv[] )
|
|||
logger = &logger_stdout;
|
||||
} else {
|
||||
logger_file.init(args.log_args.filename);
|
||||
logger_file.log("\n\n");
|
||||
logger_file.log(get_build_string().c_str());
|
||||
logger_file.log("\n--- Software Radio Systems EPC log ---\n\n");
|
||||
logger = &logger_file;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue