Commit d8ebfbb6 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Set log format and level on client to help debugging as in neomaster and neostorage.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@475 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent dca42fc0
......@@ -33,6 +33,8 @@ class Storage(BaseStorage.BaseStorage,
def __init__(self, master_nodes, name, connector, read_only=False, **kw):
self._is_read_only = read_only
format='[%(module)12s:%(lineno)3d] %(message)s'
logging.basicConfig(level=logging.DEBUG, format=format)
# Transaction must be under protection of lock
l = Lock()
self._txn_lock_acquire = l.acquire
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment