l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Jun 11 09:43

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Centeraly saving only some syslog messages?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Centeraly saving only some syslog messages?

Hash: SHA1

On Tuesday 10 June 2003 10:16 pm, Mike Simons wrote:
> On Tue, Jun 10, 2003 at 09:34:24PM -0700, Ryan Castellucci wrote:
> > Does anyone know how I could centeraly log the output of just one
> > program? ie, syslogs from sshd s all get sent to a log server, but
> > everything else stays localy logged only?
> sshd_config(5)
> ===
>      SyslogFacility
>              Gives the facility code that is used when logging messages
> from sshd.  The possible values are: DAEMON, USER, AUTH, LOCAL0, LOCAL1,
> LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7.  The default is AUTH.
> ===
> use above to have sshd log to level local5, then
> /etc/syslog.conf
> ===
> local5.*	@log.host
> ===

This looks like it will work great, thanks. I read the man pages for two 
other programs that I want to do this with, and they have equlivant optons. 
Any thing you can do with programs that have the log facility hard coded, 
short of re-compiling them? (just wondering)

>   Let me know how it turns out, like if you find a secure syslogd you
> like (to encrypt syslog messages on wire).

syslog-ng supports using tcp, so it could be tunneled over ssh, or perhaps I 
can figure out how to use it with an SSL wrapper such as stunnel.

- -- 
PGP/GPG Fingerprint: 3B30 C6BE B1C6 9526 7A90  34E7 11DF 44F3 7217 7BC7
On pgp.mit.edu, import with `gpg --keyserver pgp.mit.edu --recv-key 72177BC7`
Also available at http://www.cal.net/~ryan/ryan_at_mother_dot_com.asc
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.