mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-22 21:40:47 +00:00
add some log messages for debugging
This commit is contained in:
parent
f8097a428c
commit
7205a93751
@ -434,6 +434,14 @@ int main(int argc, char** argv)
|
||||
sys_log.notice("Initialization times before main(): %fs", intro_time / 1000000000.);
|
||||
#endif
|
||||
|
||||
std::string argument_str;
|
||||
for (int i = 0; i < argc; i++)
|
||||
{
|
||||
argument_str += argv[i];
|
||||
if (i != argc - 1) argument_str += " ";
|
||||
}
|
||||
sys_log.notice("argv: '%s'", argument_str);
|
||||
|
||||
#ifdef __linux__
|
||||
struct ::rlimit rlim;
|
||||
rlim.rlim_cur = 4096;
|
||||
@ -738,7 +746,7 @@ int main(int argc, char** argv)
|
||||
|
||||
for (const auto& opt : parser.optionNames())
|
||||
{
|
||||
sys_log.notice("Option passed via command line: %s = %s", opt.toStdString(), parser.value(opt).toStdString());
|
||||
sys_log.notice("Option passed via command line: %s %s", opt.toStdString(), parser.value(opt).toStdString());
|
||||
}
|
||||
|
||||
if (const QStringList args = parser.positionalArguments(); !args.isEmpty())
|
||||
|
@ -215,6 +215,8 @@ bool update_manager::handle_json(bool automatic, bool check_only, const QByteArr
|
||||
return false;
|
||||
}
|
||||
|
||||
update_log.notice("Update found: %s", m_request_url);
|
||||
|
||||
if (check_only)
|
||||
{
|
||||
m_downloader->close_progress_dialog();
|
||||
|
Loading…
x
Reference in New Issue
Block a user