Skip to content

common/common.c, include/common.h: follow-up for upsnotify()#2678

Merged
jimklimov merged 2 commits intonetworkupstools:masterfrom
jimklimov:upsnotify-ux-friendly
Nov 17, 2024
Merged

common/common.c, include/common.h: follow-up for upsnotify()#2678
jimklimov merged 2 commits intonetworkupstools:masterfrom
jimklimov:upsnotify-ux-friendly

Conversation

@jimklimov
Copy link
Copy Markdown
Member

Follow-up for PRs #1590, #2136

  • introduce str_upsnotify_state() for meaningful debug log messages;
  • suggest to export NUT_QUIET_INIT_UPSNOTIFY=true where we "will not spam more about it" for systems that do not currently expect to have notification support or need

@jimklimov jimklimov added enhancement systemd Solaris/illumos Solaris and illumos systems (OpenIndiana, OmniOS, SmartOS, TribbliX...) service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug labels Nov 15, 2024
@jimklimov jimklimov added this to the 2.8.3 milestone Nov 15, 2024
…rkupstools#1590, networkupstools#2136]

* introduce `str_upsnotify_state()` for meaningful debug log messages;
* suggest to `export NUT_QUIET_INIT_UPSNOTIFY=true` where we
  "will not spam more about it" for systems that do not currently
  expect to have notification support or need

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov force-pushed the upsnotify-ux-friendly branch from 015308b to c0f5471 Compare November 15, 2024 11:00
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov merged commit 1b98b6f into networkupstools:master Nov 17, 2024
@jimklimov jimklimov deleted the upsnotify-ux-friendly branch November 17, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement service/daemon start/stop General subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debug Solaris/illumos Solaris and illumos systems (OpenIndiana, OmniOS, SmartOS, TribbliX...) systemd

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant