1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

print the system info when startup main

This commit is contained in:
winlin 2014-03-19 10:51:33 +08:00
parent 2eeb289c2f
commit d89d16ca1e
4 changed files with 21 additions and 9 deletions

View file

@ -80,6 +80,10 @@ int main(int argc, char** argv)
return -1;
#endif
#endif
srs_trace("uname: "SRS_UNAME);
srs_trace("build: %s, %s", SRS_BUILD_DATE, srs_is_little_endian()? "little-endian":"big-endian");
srs_trace("configure: "SRS_CONFIGURE);
if ((ret = _srs_server->initialize()) != ERROR_SUCCESS) {
return ret;