l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
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?



-----BEGIN PGP SIGNED MESSAGE-----
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+5zG9Ed9E83IXe8cRAm3DAJwIIpLzluBJ+ev8GoV2M6eiKN+ZsACgnqPD
j0xgu3VhAp7+Az65QI6HChI=
=g72v
-----END PGP SIGNATURE-----
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
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:
Sunset Systems
Who graciously hosts our website & mailing lists!