From 813465522d7e887ff944e79a7c6386dc9588bed5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 6 Jan 2018 01:11:48 +0000 Subject: Add version number to encode server welcome message (#1157). --- src/lib/encode_server.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib/encode_server.cc') diff --git a/src/lib/encode_server.cc b/src/lib/encode_server.cc index 7810cc95e..7bef82b26 100644 --- a/src/lib/encode_server.cc +++ b/src/lib/encode_server.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2015 Carl Hetherington + Copyright (C) 2012-2018 Carl Hetherington This file is part of DCP-o-matic. @@ -34,6 +34,7 @@ #include "compose.hpp" #include "log.h" #include "encoded_log_entry.h" +#include "version.h" #include #include #include @@ -222,7 +223,7 @@ EncodeServer::worker_thread () void EncodeServer::run () { - LOG_GENERAL ("Server starting with %1 threads", _num_threads); + LOG_GENERAL ("Server %1 (%2) starting with %3 threads", dcpomatic_version, dcpomatic_git_commit, _num_threads); if (_verbose) { cout << "DCP-o-matic server starting with " << _num_threads << " threads.\n"; } -- cgit v1.2.3