Commit graph

221 commits

Author SHA1 Message Date
Richard Frith-Macdonald
5d6945ee59 Add notifications about quitting 2020-07-23 07:11:26 +01:00
Richard Frith-Macdonald
b34b6f2e3a Fixupes ot use key with prefix for internal defaults 2020-07-08 16:48:26 +01:00
Richard Frith-Macdonald
f04f1292a3 Many fixups/alterations to launch/shutdown of processes. Removed the 'strict' option to enforce a prefix on defaults keys, since it was really never used and just complicated things. 2020-07-03 11:50:25 +01:00
Richard Frith-Macdonald
d4dbead364 Improve logging/alarming for diagnostic stack traces and fix bug usng wrong alarm levels 2020-06-29 10:51:38 +01:00
Richard Frith-Macdonald
bcdb6d8c5f Rewrites of EcCommand.m and remove unnecessary code in EcProcess registration 2020-06-26 19:59:55 +01:00
Richard Frith-Macdonald
9934bbbdf2 Rewrite launching to make the LaunchInfo instances control most of the work and to use individual timers for each instance with the aim of simplifying launch and shutdown logic and alarms 2020-06-24 13:26:31 +01:00
Richard Frith-Macdonald
9382195eb6 Add -ecUpdateRegisteredDefaults 2020-05-18 12:34:43 +01:00
Richard Frith-Macdonald
6d73abdd40 attempt to make restart of a process more reliable in the case where it stopped
responding to the Command server for a while.
2020-04-04 11:03:26 +01:00
Richard Frith-Macdonald
fc3dcb37b4 fixup incorrect copy 2020-03-23 13:40:51 +00:00
Richard Frith-Macdonald
69e3ccd27e Add config sharing for cooperating processes 2020-03-23 13:35:58 +00:00
Richard Frith-Macdonald
85dfbfa006 deprecate old error/alert methods 2020-01-27 15:27:57 +00:00
Richard Frith-Macdonald
1a8d6f6195 improve reporting of debug status 2019-10-05 15:43:58 +01:00
Richard Frith-Macdonald
c872e2dabc fix typo 2019-08-11 13:39:02 +01:00
Richard Frith-Macdonald
0491c5df00 nother alarm setting for memory 2019-08-11 13:35:10 +01:00
Richard Frith-Macdonald
e908f86e25 improve memory usage reporting etc 2019-08-10 10:19:16 +01:00
Richard Frith-Macdonald
e308fccddc Report whether we are quitting in status 2019-08-09 12:34:58 +01:00
Richard Frith-Macdonald
8cd2ff9fab more shutdown tweaks (better control over time allowed) 2019-07-15 10:10:05 +01:00
Richard Frith-Macdonald
76077a56a4 Improve clean shutdown 2019-07-15 09:30:40 +01:00
Richard Frith-Macdonald
8a27be3872 Twaek for improved flexiblity when shutting down 2019-07-12 10:56:04 +01:00
Richard Frith-Macdonald
b3e7848177 fixup for nil return value 2019-07-05 16:55:23 +01:00
Richard Frith-Macdonald
0e92bea5e0 Make ecConfigurationError: use varargs 2019-07-05 15:53:39 +01:00
Richard Frith-Macdonald
a3300b57e6 cmment out unneccessary log 2019-06-27 13:46:21 +01:00
Richard Frith-Macdonald
3ab558d078 remove excess logging 2019-06-05 17:25:16 +01:00
Richard Frith-Macdonald
8f9eb1c4f3 Use Total memory type by default 2019-06-01 15:52:07 +01:00
Richard Frith-Macdonald
242f60f7f1 ensure memType is set 2019-06-01 15:49:13 +01:00
Richard Frith-Macdonald
e3c8059dea improve logging 2019-06-01 15:44:32 +01:00
Richard Frith-Macdonald
80bafed48f fix logic inversion 2019-06-01 15:35:53 +01:00
Richard Frith-Macdonald
5530cc207d Control type of memory tracked 2019-06-01 15:28:21 +01:00
Richard Frith-Macdonald
8ee4d54ea1 improvements for Command startup 2019-05-31 17:33:53 +01:00
Richard Frith-Macdonald
25bd79af54 tweak wording of help 2019-05-28 16:17:03 +01:00
Richard Frith-Macdonald
526f2072ea Minor tweaks to exception APIs and documentation 2019-05-28 10:16:54 +01:00
Richard Frith-Macdonald
15c78de782 Convenience macros 2019-05-27 22:35:47 +01:00
Richard Frith-Macdonald
a5740eeefb new exception logging APIs 2019-05-27 17:37:18 +01:00
Richard Frith-Macdonald
b58abf9185 add option to show current overrides 2019-05-27 16:38:47 +01:00
Richard Frith-Macdonald
6db334d23b missed from commit 2019-05-27 16:24:23 +01:00
Richard Frith-Macdonald
4b9284a8d6 add option to suppress debug output 2019-03-14 14:32:59 +00:00
Richard Frith-Macdonald
e5da849c29 Revert "debug logging suppression option added"
This reverts commit 496e66bcbf.
2019-03-14 14:29:58 +00:00
Richard Frith-Macdonald
496e66bcbf debug logging suppression option added 2019-03-02 08:12:24 +00:00
Richard Frith-Macdonald
6d4a8e0ef0 Partial implementation of KillDebugOutput option 2019-03-01 13:00:09 +00:00
Richard Frith-Macdonald
5dd11178b0 Speed up realaunch 2019-02-11 16:17:16 +00:00
Richard Frith-Macdonald
06ae55eb80 fix printf for --help 2018-11-23 11:40:55 +00:00
Wolfgang Lux
b4cb9b683c Call ecAwaken only after registration at the name server was successful 2018-11-09 16:27:54 +01:00
Richard Frith-Macdonald
6e4138d769 Fixes for prompts/error messages with master encryption key. 2018-10-24 11:28:27 +01:00
Richard Frith-Macdonald
ce9f465c86 Make sure we log the whole text of any configuration error (using NSLog())
before truncating it (if necessary) to create an alarm.
2018-08-28 11:50:47 +01:00
Richard Frith-Macdonald
6693ee6330 logging tweaks 2018-07-30 21:26:41 +01:00
Richard Frith-Macdonald
3dd3b165eb Improve graceful shutdown API 2018-06-24 15:37:35 +01:00
Richard Frith-Macdonald
afd1a03822 Improve restart help/audit logs 2018-06-12 15:23:12 +01:00
Richard Frith-Macdonald
4b02a4089e improve restart command to perform prompt restarts 2018-06-12 12:46:35 +01:00
Richard Frith-Macdonald
4205f7c074 Don't display contents of EcControlKey 2018-03-03 18:36:01 +00:00
Richard Frith-Macdonald
5967901af8 Improve key entry code 2018-03-02 11:04:25 +00:00