diff --git a/MMDVMHost.cpp b/MMDVMHost.cpp index dfb1188..7ad2c34 100644 --- a/MMDVMHost.cpp +++ b/MMDVMHost.cpp @@ -895,8 +895,10 @@ int CMMDVMHost::run() setMode(MODE_IDLE); - LogInfo("MMDVMHost-%s is running", VERSION); - writeJSONMessage("MMDVMHost is running"); + LogInfo("MMDVMHost-%s is starting", VERSION); + LogInfo("Built %s %s (GitID #%.7s)", __TIME__, __DATE__, gitversion); + + writeJSONMessage("MMDVMHost is starting"); while (!m_killed) { bool lockout = m_modem->hasLockout(); @@ -1506,6 +1508,9 @@ int CMMDVMHost::run() CThread::sleep(5U); } + LogInfo("MMDVMHost is stopping"); + writeJSONMessage("MMDVMHost is stopping"); + setMode(MODE_QUIT); #if defined(USE_DMR) || defined(USE_P25) diff --git a/Utils.cpp b/Utils.cpp index 4fe0e28..28832f9 100644 --- a/Utils.cpp +++ b/Utils.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009,2014,2015,2016,2021,2022 Jonathan Naylor, G4KLX + * Copyright (C) 2009,2014,2015,2016,2021,2022,2023 Jonathan Naylor, G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/Utils.h b/Utils.h index bcd55da..6b5a876 100644 --- a/Utils.h +++ b/Utils.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009,2014,2015,2021,2022 by Jonathan Naylor, G4KLX + * Copyright (C) 2009,2014,2015,2021,2022,2023 by Jonathan Naylor, G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by