Skip to content

Commit

Permalink
Open source companion commit for rstudio/rstudio-pro#1169
Browse files Browse the repository at this point in the history
  • Loading branch information
kfeinauer committed Aug 16, 2019
1 parent c223b65 commit e454b48
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/cpp/server/ServerMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -513,9 +513,12 @@ int main(int argc, char * const argv[])
server::options().monitorSharedSecret(),
s_pHttpServer->ioService());

// add a monitor log writer
core::system::addLogWriter(
monitor::client().createLogWriter(kProgramIdentity));
if (!options.verifyInstallation())
{
// add a monitor log writer
core::system::addLogWriter(
monitor::client().createLogWriter(kProgramIdentity));
}

// call overlay initialize
error = overlay::initialize();
Expand Down

0 comments on commit e454b48

Please sign in to comment.