libvirt/src/logging
Cole Robinson e7db227810 util: Add virGettextInitialize, convert the code
Take setlocale/gettext error handling pattern from tools/virsh-*
and use it for all standalone binaries via a new shared
virGettextInitialize routine. The virsh* pattern differed slightly
from other callers. All users now consistently:

* Ignore setlocale errors. virsh has done this forever, presumably for
  good reason. This has been partially responsible for some bug reports:

  https://bugzilla.redhat.com/show_bug.cgi?id=1312688
  https://bugzilla.redhat.com/show_bug.cgi?id=1026514
  https://bugzilla.redhat.com/show_bug.cgi?id=1016158

* Report the failed function name
* Report strerror
2016-04-14 13:22:40 -04:00
..
log_daemon_config.c Import stripped down virtlockd code as basis of virtlogd 2015-11-26 14:28:55 +00:00
log_daemon_config.h Import stripped down virtlockd code as basis of virtlogd 2015-11-26 14:28:55 +00:00
log_daemon_dispatch.c logging: support truncation of logfiles when opening 2016-03-10 15:41:52 +00:00
log_daemon_dispatch.h Import stripped down virtlockd code as basis of virtlogd 2015-11-26 14:28:55 +00:00
log_daemon.c util: Add virGettextInitialize, convert the code 2016-04-14 13:22:40 -04:00
log_daemon.h logging: avoid variables called 'daemon' due to function clash 2015-11-27 09:27:53 +00:00
log_handler.c logging: support truncation of logfiles when opening 2016-03-10 15:41:52 +00:00
log_handler.h logging: support truncation of logfiles when opening 2016-03-10 15:41:52 +00:00
log_manager.c logging: allow inode/offset params to be NULL 2016-03-10 15:33:16 +00:00
log_manager.h logging: support truncation of logfiles when opening 2016-03-10 15:41:52 +00:00
log_protocol.x logging: support truncation of logfiles when opening 2016-03-10 15:41:52 +00:00
test_virtlogd.aug.in Import stripped down virtlockd code as basis of virtlogd 2015-11-26 14:28:55 +00:00
virtlogd.aug Import stripped down virtlockd code as basis of virtlogd 2015-11-26 14:28:55 +00:00
virtlogd.conf Import stripped down virtlockd code as basis of virtlogd 2015-11-26 14:28:55 +00:00
virtlogd.init.in Fix LSB requirements in service script and sync them 2016-01-11 15:49:13 +01:00
virtlogd.pod.in Import stripped down virtlockd code as basis of virtlogd 2015-11-26 14:28:55 +00:00
virtlogd.service.in Import stripped down virtlockd code as basis of virtlogd 2015-11-26 14:28:55 +00:00
virtlogd.socket.in Import stripped down virtlockd code as basis of virtlogd 2015-11-26 14:28:55 +00:00
virtlogd.sysconf Import stripped down virtlockd code as basis of virtlogd 2015-11-26 14:28:55 +00:00