[PATCH 0/5] logger: remove use of libc openlog and other small changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

In commit eea331abd7159432d8f45f978b2fbac19330ce48 I added an option to
use ppid instead of pid in logger message.  That change worked only when
logging remotely, because the libc syslog(3) call does not support ppid
printing.  For a moment I thought it might be possible to change libc to
have such feature, before realizing there are more than one libc
implementation and making all of them work is hopeless.  So I decided to
avoid the syslog(3) all together, and make syslog_local() to be as close
copy of glibc syslog(3) format as possible with support for ppid
printing.

Rest of the changes in this series are not technically that interesting,
and only remaining thing worth to mention is a small write out, requested
by Karel, about logger changes.

http://www.iki.fi/kerolasa/logger.html


The following changes since commit cd8414f7a13aca0b3ea150b473b83f00819b312f:

  cfdisk: move curs_set(1) to ui_end() (2014-08-06 15:39:27 +0200)

are available in the git repository at:

  git://github.com/kerolasa/lelux-utiliteetit.git logger

for you to fetch changes up to f0757ac355b42baab1e477345690260db651e693:

  docs: mentintion default udp and tcp ports logger is using (2014-08-09 09:13:25 +0100)

----------------------------------------------------------------
Sami Kerola (5):
      logger: allow use of --id=ppid when logging locally
      logger: remove openlog(3) options
      logger: optimize string initializations
      logger: set function arguments read-only when possible
      docs: mentintion default udp and tcp ports logger is using

 misc-utils/logger.1 |  7 +++++
 misc-utils/logger.c | 84 +++++++++++++++++++++++++++++++++--------------------
 2 files changed, 60 insertions(+), 31 deletions(-)

-- 
2.0.4

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux