diff options
author | rfree2monero <rfreemonero@op.pl> | 2015-02-24 20:12:56 +0100 |
---|---|---|
committer | rfree2monero <rfreemonero@op.pl> | 2015-02-24 20:12:56 +0100 |
commit | 0198ffb2201e6e089aa385f80a1407e450a9856b (patch) | |
tree | 1f8590d4c9c8be52adfc832873c65a160b151c35 /src/daemon/daemon.cpp | |
parent | 2014 network limit 1.2 +utils +toc -doc -drmonero (diff) | |
download | monero-0198ffb2201e6e089aa385f80a1407e450a9856b.tar.xz |
2014 network limit 1.3 fix log/path/data +utils
+toc -doc -drmonero
Fixed the windows path, and improved logging and data
(for graph) logging, fixed some locks and added more checks.
Still there is a locking error,
not added by my patches, but present in master version
(locking of map/list of peers).
Diffstat (limited to '')
-rw-r--r-- | src/daemon/daemon.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp index 8497efbf2..8d584af5e 100644 --- a/src/daemon/daemon.cpp +++ b/src/daemon/daemon.cpp @@ -125,8 +125,9 @@ int main(int argc, char* argv[]) LOG_PRINT_L0("Starting..."); nOT::nUtils::cFilesystemUtils::CreateDirTree("log/dr-monero/net/"); - // _warn_c("log/test","Starting program"); // TODO - + _warn_c("test","Starting program (a test message)"); + _warn_c("main/program","Starting program"); + TRY_ENTRY(); boost::filesystem::path default_data_path {tools::get_default_data_dir()}; @@ -319,6 +320,7 @@ int main(int argc, char* argv[]) ccore.set_cryptonote_protocol(NULL); cprotocol.set_p2p_endpoint(NULL); + epee::net_utils::data_logger::get_instance().kill_instance(); LOG_PRINT("Node stopped.", LOG_LEVEL_0); return 0; |