diff options
author | Sage Weil <sage@inktank.com> | 2012-08-14 23:06:47 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-08-14 23:06:47 +0200 |
commit | 1eea43db197cb976404609eabbef20616cab6067 (patch) | |
tree | c0c1074615d45caf752dbad0be58bd2f53ef5871 /src/global | |
parent | Merge branch 'wip-crush-tunables' (diff) | |
download | ceph-1eea43db197cb976404609eabbef20616cab6067.tar.xz ceph-1eea43db197cb976404609eabbef20616cab6067.zip |
global: fix version banner in log on startup
Log banner from global_init(). This puts it at the very top of the log,
right when the daemon starts.
Fixes: #2940
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/global')
-rw-r--r-- | src/global/global_init.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/global/global_init.cc b/src/global/global_init.cc index 8d119d45670..e6df5e3bd24 100644 --- a/src/global/global_init.cc +++ b/src/global/global_init.cc @@ -121,6 +121,8 @@ void global_init(std::vector < const char * > *alt_def_args, std::vector < const lockdep_register_ceph_context(cct); } register_assert_context(cct); + + output_ceph_version(); } void global_print_banner(void) |