Commit 3a48be31 authored by Grégory Wisniewski's avatar Grégory Wisniewski

neoctl doest not accept a 'logfile' parameter.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@680 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent d8fd8409
...@@ -37,9 +37,9 @@ ip = options.ip or '127.0.0.1' ...@@ -37,9 +37,9 @@ ip = options.ip or '127.0.0.1'
handler = options.handler or "SocketConnector" handler = options.handler or "SocketConnector"
if options.verbose: if options.verbose:
logging.basicConfig(filename=logfile, level=logging.DEBUG, format=DEFAULT_LOG_FORMAT) logging.basicConfig(level=logging.DEBUG, format=DEFAULT_LOG_FORMAT)
else: else:
logging.basicConfig(filename=logfile, level=logging.INFO, format=DEFAULT_LOG_FORMAT) logging.basicConfig(level=logging.INFO, format=DEFAULT_LOG_FORMAT)
app = Application(ip, port, handler) app = Application(ip, port, handler)
......
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