mirror of
https://github.com/monero-project/monero.git
synced 2025-07-31 22:58:41 -04:00
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).
This commit is contained in:
parent
ae2a50659f
commit
0198ffb220
19 changed files with 306 additions and 110 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue