changed log path
parent
b212608bcd
commit
8d1119270e
|
@ -14,7 +14,7 @@
|
|||
#include "listView.h"
|
||||
#include "loginView.h"
|
||||
|
||||
const string CONFIG_PATH = "/mnt/ext1/system/config/nextcloud";
|
||||
const string LOG_PATH = "/mnt/ext1/system/config/nextcloud";
|
||||
|
||||
class EventHandler
|
||||
{
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
void Log::writeLog(const string &text)
|
||||
{
|
||||
std::ofstream log(CONFIG_PATH + std::string("/logfile.txt"), std::ios_base::app | std::ios_base::out);
|
||||
std::ofstream log(LOG_PATH + std::string("/logfile.txt"), std::ios_base::app | std::ios_base::out);
|
||||
|
||||
time_t rawtime;
|
||||
struct tm *timeinfo;
|
||||
|
|
Loading…
Reference in New Issue