mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-27 16:49:19 +08:00
use common log
This commit is contained in:
@@ -11,9 +11,7 @@ VALUE_MAX_LIMIT = 512
|
||||
|
||||
import json
|
||||
|
||||
from commontools import utf8len, setup_logging
|
||||
|
||||
import logging
|
||||
from commontools import utf8len, log
|
||||
|
||||
#-----------------------------------
|
||||
from pymongo import MongoClient
|
||||
@@ -26,9 +24,6 @@ remote_client = MongoClient(MONGODB_URI)
|
||||
remote_db = remote_client.get_default_database()
|
||||
users = remote_db.user
|
||||
|
||||
import logging
|
||||
setup_logging()
|
||||
log = logging.getLogger()
|
||||
|
||||
from coinrpc import NamecoindServer
|
||||
from blockdata.namecoind_cluster import get_server
|
||||
|
||||
Reference in New Issue
Block a user