]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
log: new logging infrastructure
authorSage Weil <sage@newdream.net>
Tue, 27 Mar 2012 17:41:12 +0000 (10:41 -0700)
committerSage Weil <sage@newdream.net>
Tue, 27 Mar 2012 17:41:12 +0000 (10:41 -0700)
commitf41887e38d70970f4d0181fb73e835ece68cee6c
treedd6f896fa260344f3f8b0b35659d27118f2293f7
parentd6b0cbd442e7efe280c1a0f362e485d38bd91cf0
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>
152 files changed:
src/.gitignore
src/Makefile.am
src/auth/AuthServiceHandler.cc
src/auth/AuthSupported.cc
src/auth/KeyRing.cc
src/auth/RotatingKeyRing.cc
src/auth/cephx/CephxAuthorizeHandler.cc
src/auth/cephx/CephxClientHandler.cc
src/auth/cephx/CephxKeyServer.cc
src/auth/cephx/CephxProtocol.cc
src/auth/cephx/CephxServiceHandler.cc
src/auth/none/AuthNoneAuthorizeHandler.cc
src/ceph_fuse.cc
src/ceph_mds.cc
src/ceph_mon.cc
src/ceph_osd.cc
src/client/Client.cc
src/client/Inode.cc
src/client/Inode.h
src/client/SyntheticClient.cc
src/common/DecayCounter.h
src/common/DoutStreambuf.cc [deleted file]
src/common/DoutStreambuf.h [deleted file]
src/common/Finisher.cc
src/common/HeartbeatMap.cc
src/common/LogClient.cc
src/common/MemoryModel.cc
src/common/Timer.cc
src/common/WorkQueue.cc
src/common/admin_socket.cc
src/common/assert.cc
src/common/ceph_argparse.cc
src/common/ceph_argparse.h
src/common/ceph_context.cc
src/common/ceph_context.h
src/common/common_init.cc
src/common/config.cc
src/common/config.h
src/common/config_obs.h
src/common/config_opts.h
src/common/dout.cc [new file with mode: 0644]
src/common/dout.h
src/common/lockdep.cc
src/common/pick_address.cc
src/common/signal.cc
src/crush/CrushWrapper.cc
src/crushtool.cc
src/global/global_context.cc
src/global/global_context.h
src/global/global_init.cc
src/global/signal_handler.cc
src/include/Context.h
src/init-ceph.in
src/librados/IoCtxImpl.cc
src/librados/RadosClient.cc
src/librados/librados.cc
src/librbd.cc
src/log/Entry.h [new file with mode: 0644]
src/log/EntryQueue.h [new file with mode: 0644]
src/log/Log.cc [new file with mode: 0644]
src/log/Log.h [new file with mode: 0644]
src/log/SubsystemMap.h [new file with mode: 0644]
src/log/test.cc [new file with mode: 0644]
src/mds/AnchorClient.cc
src/mds/AnchorServer.cc
src/mds/CDentry.cc
src/mds/CDir.cc
src/mds/CInode.cc
src/mds/CInode.h
src/mds/InoTable.cc
src/mds/Locker.cc
src/mds/MDBalancer.cc
src/mds/MDCache.cc
src/mds/MDLog.cc
src/mds/MDS.cc
src/mds/MDSTable.cc
src/mds/MDSTableClient.cc
src/mds/MDSTableServer.cc
src/mds/Migrator.cc
src/mds/Server.cc
src/mds/SessionMap.cc
src/mds/SnapServer.cc
src/mds/flock.cc
src/mds/journal.cc
src/mds/snap.cc
src/mon/AuthMonitor.cc
src/mon/Elector.cc
src/mon/LogMonitor.cc
src/mon/MDSMonitor.cc
src/mon/MonCaps.cc
src/mon/MonClient.cc
src/mon/Monitor.cc
src/mon/MonitorStore.cc
src/mon/MonmapMonitor.cc
src/mon/OSDMonitor.cc
src/mon/PGMap.cc
src/mon/PGMonitor.cc
src/mon/Paxos.cc
src/mon/PaxosService.cc
src/msg/Message.cc
src/msg/SimpleMessenger.cc
src/msg/SimpleMessenger.h
src/objclass/class_debug.cc
src/os/DBObjectMap.cc
src/os/FileJournal.cc
src/os/FileStore.cc
src/os/HashIndex.cc
src/os/JournalingObjectStore.cc
src/os/LFNIndex.cc
src/osd/ClassHandler.cc
src/osd/OSD.cc
src/osd/OSDMap.cc
src/osd/PG.cc
src/osd/ReplicatedPG.cc
src/osdc/Filer.cc
src/osdc/Journaler.cc
src/osdc/ObjectCacher.cc
src/osdc/Objecter.cc
src/rgw/librgw.cc
src/rgw/rgw_acl.cc
src/rgw/rgw_acl_s3.cc
src/rgw/rgw_acl_swift.cc
src/rgw/rgw_aclparser.cc
src/rgw/rgw_admin.cc
src/rgw/rgw_cache.cc
src/rgw/rgw_cache.h
src/rgw/rgw_common.cc
src/rgw/rgw_env.cc
src/rgw/rgw_formats.cc
src/rgw/rgw_log.cc
src/rgw/rgw_main.cc
src/rgw/rgw_multi.cc
src/rgw/rgw_multiparser.cc
src/rgw/rgw_op.cc
src/rgw/rgw_rados.cc
src/rgw/rgw_rest.cc
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_swift.cc
src/rgw/rgw_swift.cc
src/rgw/rgw_swift_auth.cc
src/rgw/rgw_tools.cc
src/rgw/rgw_user.cc
src/rgw/rgw_xml.cc
src/test/TestDoutStreambuf.cc [deleted file]
src/test/TestSignalHandlers.cc
src/test/daemon_config.cc
src/test_trans.cc
src/testcrypto.cc
src/testkeys.cc
src/testmsgr.cc
src/tools/common.cc
src/vstart.sh