Moved log message that prints system info to after installation
of user requested log level so it can be filtered.
This commit is contained in:
parent
ca23cd031f
commit
73488bc5b4
|
@ -599,9 +599,6 @@ parse(int argc, const char* const* argv)
|
|||
// set defaults
|
||||
ARG->m_name = ARCH->getHostName();
|
||||
|
||||
// identify system
|
||||
LOG((CLOG_INFO "Synergy client on %s", ARCH->getOSName().c_str()));
|
||||
|
||||
// parse options
|
||||
int i;
|
||||
for (i = 1; i < argc; ++i) {
|
||||
|
@ -726,6 +723,9 @@ parse(int argc, const char* const* argv)
|
|||
ARG->m_pname, ARG->m_logFilter, ARG->m_pname));
|
||||
bye(kExitArgs);
|
||||
}
|
||||
|
||||
// identify system
|
||||
LOG((CLOG_INFO "Synergy client on %s", ARCH->getOSName().c_str()));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -731,9 +731,6 @@ parse(int argc, const char* const* argv)
|
|||
// set defaults
|
||||
ARG->m_name = ARCH->getHostName();
|
||||
|
||||
// identify system
|
||||
LOG((CLOG_INFO "Synergy server on %s", ARCH->getOSName().c_str()));
|
||||
|
||||
// parse options
|
||||
int i = 1;
|
||||
for (; i < argc; ++i) {
|
||||
|
@ -854,6 +851,9 @@ parse(int argc, const char* const* argv)
|
|||
ARG->m_pname, ARG->m_logFilter, ARG->m_pname));
|
||||
bye(kExitArgs);
|
||||
}
|
||||
|
||||
// identify system
|
||||
LOG((CLOG_INFO "Synergy server on %s", ARCH->getOSName().c_str()));
|
||||
}
|
||||
|
||||
static
|
||||
|
|
Loading…
Reference in New Issue