forked from lix-project/lix
Initialise logger
This commit is contained in:
parent
16c4856027
commit
31cc9366fc
|
@ -25,7 +25,6 @@ static ref<Store> store()
|
|||
static std::shared_ptr<Store> _store;
|
||||
if (!_store) {
|
||||
try {
|
||||
logger = makeDefaultLogger();
|
||||
settings.loadConfFile();
|
||||
settings.update();
|
||||
settings.lockCPU = false;
|
||||
|
|
|
@ -106,8 +106,6 @@ void initNix()
|
|||
std::cerr.rdbuf()->pubsetbuf(buf, sizeof(buf));
|
||||
#endif
|
||||
|
||||
logger = makeDefaultLogger();
|
||||
|
||||
/* Initialise OpenSSL locking. */
|
||||
opensslLocks = std::vector<std::mutex>(CRYPTO_num_locks());
|
||||
CRYPTO_set_locking_callback(opensslLockCallback);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
namespace nix {
|
||||
|
||||
Logger * logger = 0;
|
||||
Logger * logger = makeDefaultLogger();
|
||||
|
||||
class SimpleLogger : public Logger
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue