diff options
author | Sage Weil <sage@newdream.net> | 2012-03-27 19:41:12 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2012-03-27 19:41:12 +0200 |
commit | f41887e38d70970f4d0181fb73e835ece68cee6c (patch) | |
tree | dd6f896fa260344f3f8b0b35659d27118f2293f7 /src/ceph_fuse.cc | |
parent | config: use our assert (diff) | |
download | ceph-f41887e38d70970f4d0181fb73e835ece68cee6c.tar.xz ceph-f41887e38d70970f4d0181fb73e835ece68cee6c.zip |
log: new logging infrastructure
- explicitly defined subsystems, and ceph_subsys_FOO enums to go with them
- modular log system with Entry object
- separate gather level and log level
- drop lots of DoutStreambuf hackery
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'src/ceph_fuse.cc')
-rw-r--r-- | src/ceph_fuse.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ceph_fuse.cc b/src/ceph_fuse.cc index 807d4839b1a..f3f03f5ecaa 100644 --- a/src/ceph_fuse.cc +++ b/src/ceph_fuse.cc @@ -108,6 +108,8 @@ int main(int argc, const char **argv, const char *envp[]) { exit(1); } + g_ceph_context->_log->stop(); + childpid = fork(); } @@ -117,6 +119,8 @@ int main(int argc, const char **argv, const char *envp[]) { //cout << "child, mounting" << std::endl; ::close(fd[0]); + g_ceph_context->_log->start(); + cout << "ceph-fuse[" << getpid() << "]: starting ceph client" << std::endl; messenger->start(); |