From: Jesper Dahl Nyerup <nyerup@one.com>
To: "Dale R. Worley" <worley@alum.mit.edu>
Cc: util-linux@vger.kernel.org, Martin Topholm <mph@one.com>,
Vedpal Rajera <vedpalr@one.com>
Subject: Re: Using script(1) to log all user sessions
Date: Fri, 25 Apr 2014 19:39:12 +0200 [thread overview]
Message-ID: <20140425173912.GB6197@one.com> (raw)
In-Reply-To: <201404251427.s3PERiaV008964@hobgoblin.ariadne.com>
[-- Attachment #1: Type: text/plain, Size: 986 bytes --]
On Apr 25 10:27, Dale R. Worley wrote:
> > From: Jesper Dahl Nyerup <nyerup@one.com>
> >
> > 1. Adding a daemon next to script(1) and scriptreplay(1), eg.
> > scriptcollect(1), to be in the receiving end of the traffic, optionally
> > handling the timing functionality, and finally storing data in the same
> > manner script(1) would.
>
> You might want to consider using syslog(3) for this. Or conversely,
> if syslog won't work in your environment, that might indicate
> improvements that are needed in syslog.
We considered that, but kind of gave up on the idea.
Syslog is inherently newline delimited, where as the per-update payloads
from script(1) are pretty much the opposite - one payload will often
contain multiple newlines, others will consist of a single character.
Thus, (de)serializing to and from syslog will probably be more of a
hassle than using it will be a benifit.
J.
--
Jesper Dahl Nyerup
Systems Engineer
One.com, nyerup@one.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2014-04-25 17:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-25 8:21 Using script(1) to log all user sessions Jesper Dahl Nyerup
2014-04-25 14:27 ` Dale R. Worley
2014-04-25 17:39 ` Jesper Dahl Nyerup [this message]
2014-04-26 21:27 ` Jesper Dahl Nyerup
2014-04-27 19:53 ` Ángel González
2014-04-29 10:00 ` Jesper Dahl Nyerup
2014-04-29 10:42 ` Karel Zak
2014-04-29 11:10 ` Jesper Dahl Nyerup
2014-04-28 7:13 ` Karel Zak
2014-04-29 11:05 ` Jesper Dahl Nyerup
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140425173912.GB6197@one.com \
--to=nyerup@one.com \
--cc=mph@one.com \
--cc=util-linux@vger.kernel.org \
--cc=vedpalr@one.com \
--cc=worley@alum.mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.