diff --git a/encfs/Error.cpp b/encfs/Error.cpp index 94c5909..63ae113 100644 --- a/encfs/Error.cpp +++ b/encfs/Error.cpp @@ -1,5 +1,7 @@ #include "Error.h" +INITIALIZE_EASYLOGGINGPP + namespace encfs { el::base::DispatchAction rlogAction = el::base::DispatchAction::NormalLog; diff --git a/encfs/encfsctl.cpp b/encfs/encfsctl.cpp index 6a5d17e..26b82da 100644 --- a/encfs/encfsctl.cpp +++ b/encfs/encfsctl.cpp @@ -53,8 +53,6 @@ using namespace std; using gnu::autosprintf; using namespace encfs; -INITIALIZE_EASYLOGGINGPP - static int showInfo(int argc, char **argv); static int showVersion(int argc, char **argv); static int chpasswd(int argc, char **argv); diff --git a/encfs/main.cpp b/encfs/main.cpp index ff6a485..fdf59f4 100644 --- a/encfs/main.cpp +++ b/encfs/main.cpp @@ -58,8 +58,6 @@ using namespace std; using namespace encfs; using gnu::autosprintf; -INITIALIZE_EASYLOGGINGPP - namespace encfs { class DirNode; diff --git a/encfs/makeKey.cpp b/encfs/makeKey.cpp index d0a14d2..1e69eda 100644 --- a/encfs/makeKey.cpp +++ b/encfs/makeKey.cpp @@ -31,8 +31,6 @@ using namespace std; using namespace encfs; -INITIALIZE_EASYLOGGINGPP - void genKey(const std::shared_ptr &cipher) { CipherKey key = cipher->newRandomKey(); diff --git a/encfs/test.cpp b/encfs/test.cpp index ee66469..e850db3 100644 --- a/encfs/test.cpp +++ b/encfs/test.cpp @@ -49,8 +49,6 @@ using namespace std; using namespace encfs; -INITIALIZE_EASYLOGGINGPP - const int FSBlockSize = 256; static int checkErrorPropogation(const std::shared_ptr &cipher,