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:
crs 2004-11-09 18:31:54 +00:00
parent ca23cd031f
commit 73488bc5b4
2 changed files with 6 additions and 6 deletions

View File

@ -599,9 +599,6 @@ parse(int argc, const char* const* argv)
// set defaults // set defaults
ARG->m_name = ARCH->getHostName(); ARG->m_name = ARCH->getHostName();
// identify system
LOG((CLOG_INFO "Synergy client on %s", ARCH->getOSName().c_str()));
// parse options // parse options
int i; int i;
for (i = 1; i < argc; ++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)); ARG->m_pname, ARG->m_logFilter, ARG->m_pname));
bye(kExitArgs); bye(kExitArgs);
} }
// identify system
LOG((CLOG_INFO "Synergy client on %s", ARCH->getOSName().c_str()));
} }

View File

@ -731,9 +731,6 @@ parse(int argc, const char* const* argv)
// set defaults // set defaults
ARG->m_name = ARCH->getHostName(); ARG->m_name = ARCH->getHostName();
// identify system
LOG((CLOG_INFO "Synergy server on %s", ARCH->getOSName().c_str()));
// parse options // parse options
int i = 1; int i = 1;
for (; i < argc; ++i) { for (; i < argc; ++i) {
@ -854,6 +851,9 @@ parse(int argc, const char* const* argv)
ARG->m_pname, ARG->m_logFilter, ARG->m_pname)); ARG->m_pname, ARG->m_logFilter, ARG->m_pname));
bye(kExitArgs); bye(kExitArgs);
} }
// identify system
LOG((CLOG_INFO "Synergy server on %s", ARCH->getOSName().c_str()));
} }
static static