Commit b0c8b32a authored by Kirill Smelkov's avatar Kirill Smelkov

Y wcfs: Switch loglevel from WARNING -> INFO for wcfs.py commands

As it turned out managing and monitoring wcfs server turned out to be
not very robust. For example if wcfs.go is dadlocked, then `wcfs.py
status` will also hang and things like that.

From this point of view for better tracibility it makes more sense to
see the informative messages that wcfs.py commands are trying to emit.
parent 4da6a16f
...@@ -780,7 +780,7 @@ def main(): ...@@ -780,7 +780,7 @@ def main():
# setup log.warn/error to go to stderr, so that details could be seen on # setup log.warn/error to go to stderr, so that details could be seen on
# e.g. "fuse_unmount: ... failed (more details logged)" # e.g. "fuse_unmount: ... failed (more details logged)"
logging.basicConfig(stream=sys.stderr, level=logging.WARNING, logging.basicConfig(stream=sys.stderr, level=logging.INFO,
# FIXME -> LMMDD hh:mm:ss.ssssss tid file:line] # FIXME -> LMMDD hh:mm:ss.ssssss tid file:line]
format="%(levelname)s %(asctime)s.%(msecs)03d %(process)d %(filename)s:%(lineno)d] %(name)s: %(message)s", format="%(levelname)s %(asctime)s.%(msecs)03d %(process)d %(filename)s:%(lineno)d] %(name)s: %(message)s",
datefmt="%m%d %H:%M:%S") datefmt="%m%d %H:%M:%S")
......
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