Fix connection issues and add enhancement to the Dashboard (#130)
* Fix connection errors when doing DNS lookup * Fix connection handling when an error occurs * Add remote logging feature * Add algo variant to dashboard
This commit is contained in:
parent
872fce72b5
commit
b379f21cb3
20 changed files with 377 additions and 62 deletions
|
@ -27,13 +27,13 @@
|
|||
#include <uv.h>
|
||||
#include <cc/ControlCommand.h>
|
||||
|
||||
#include "api/Api.h"
|
||||
#include "App.h"
|
||||
#include "Console.h"
|
||||
#include "Cpu.h"
|
||||
#include "crypto/CryptoNight.h"
|
||||
#include "log/ConsoleLog.h"
|
||||
#include "log/FileLog.h"
|
||||
#include "log/RemoteLog.h"
|
||||
#include "log/Log.h"
|
||||
#include "Mem.h"
|
||||
#include "net/Network.h"
|
||||
|
@ -88,6 +88,10 @@ App::App(int argc, char **argv) :
|
|||
Log::add(new FileLog(m_options->logFile()));
|
||||
}
|
||||
|
||||
if (m_options->ccUseRemoteLogging()) {
|
||||
Log::add(new RemoteLog(m_options->ccRemoteLoggingMaxRows()));
|
||||
}
|
||||
|
||||
# ifdef HAVE_SYSLOG_H
|
||||
if (m_options->syslog()) {
|
||||
Log::add(new SysLog());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue