forked from agorise/c-ipfs
Changed some erroneously labeled messages as an error.
This commit is contained in:
parent
0037be0594
commit
35b20c9a2e
3 changed files with 4 additions and 3 deletions
|
@ -750,7 +750,7 @@ int api_start (struct IpfsNode* local_node, int max_conns, int timeout)
|
|||
return 0;
|
||||
}
|
||||
|
||||
libp2p_logger_debug("api", "Started API on localhost port %d.\n", port);
|
||||
libp2p_logger_info("api", "API server listening on %d.\n", port);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -70,8 +70,9 @@ int ipfs_daemon (int argc, char **argv)
|
|||
{
|
||||
char* repo_path = NULL;
|
||||
|
||||
libp2p_logger_add_class("daemon");
|
||||
if (!ipfs_repo_get_directory(argc, argv, &repo_path)) {
|
||||
fprintf(stderr, "Unable to open repo: %s\n", repo_path);
|
||||
libp2p_logger_error("daemon", "Unable to open repo: %s\n", repo_path);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -165,7 +165,7 @@ void* ipfs_null_listen (void *ptr)
|
|||
return (void*) 2;
|
||||
}
|
||||
|
||||
libp2p_logger_error("null", "Ipfs listening on %d\n", listen_param->port);
|
||||
libp2p_logger_info("null", "Ipfs listening on %d\n", listen_param->port);
|
||||
|
||||
// when we have nothing to do, check on the connections to see if we're still connected
|
||||
struct Libp2pLinkedList* current_peer_entry = NULL;
|
||||
|
|
Loading…
Reference in a new issue