Unix Technical Forum

Display syslog results?

This is a discussion on Display syslog results? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I have the syslogd running, but I'm having hard time figuring out where the logs file are located. Also, ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:23 PM
Carlton Whitmore
 
Posts: n/a
Default Display syslog results?

I have the syslogd running, but I'm having hard time figuring out where the
logs file are located. Also, I am wanting to setup a website that displays
them in PHP.
I've searched the php sites I could find, but I can't find a script that
does this.
Can someone help?
Also, are there any good books for newbie Slackware users?
thanks again,
Carlton.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 09:23 PM
Jurgen Philippaerts
 
Posts: n/a
Default Re: Display syslog results?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Dec 17, 2003 at 08:17:09PM PST, Carlton Whitmore wrote
in article <9T9Eb.67114$HH.24421@fe1.texas.rr.com>:

> I have the syslogd running, but I'm having hard time figuring out where the
> logs file are located.


read /etc/syslogd.conf

> Also, I am wanting to setup a website that displays them in PHP.
> I've searched the php sites I could find, but I can't find a script that
> does this.


you're looking for a scrip that sets up your website ?
or did i misunderstand that ?

try to explain (in detail) what this script should do for you. i have
a feeling that youy're just looking for a $EDITOR

> Also, are there any good books for newbie Slackware users?


go to groups.google.com, then search this newsgroup's archived for
"slackware book" or something like that. there have been nunerous
suggestions before, and i can't remember all of them.


Jurgen.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/4SyN1ucXIiwNwbURAsm3AJ9+PjTVleodtAqBDpRKE4csYcdm3A CfaQ1N
FMKOkSuYYjDtJzDS73N3lh4=
=Ifmi
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 09:23 PM
dcba@dcba.dcba.org
 
Posts: n/a
Default Re: Display syslog results?

Jurgen Philippaerts <jurgen@see.my.pgp.key> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1


pgp trash troll delete

> On Wed, Dec 17, 2003 at 08:17:09PM PST, Carlton Whitmore wrote
> in article <9T9Eb.67114$HH.24421@fe1.texas.rr.com>:


> > I have the syslogd running, but I'm having hard time figuring
> > out where the logs file are located.


> read /etc/syslogd.conf


Why not just tell him where the log file is, dumbass?

> > Also, I am wanting to setup a website that displays them in
> > PHP. I've searched the php sites I could find, but I can't
> > find a script that does this.


> you're looking for a scrip that sets up your website ?
> or did i misunderstand that ?


> try to explain (in detail) what this script should do for you. i
> have a feeling that youy're just looking for a $EDITOR


If he is looking for an editor, why not just say "editor."

> > Also, are there any good books for newbie Slackware users?


> go to groups.google.com, then search this newsgroup's archived for
> "slackware book" or something like that. there have been nunerous
> suggestions before, and i can't remember all of them.


There aren't any good books for beginners using slackware and you
know it.

BTW: could you PLEASE refrain from using pgp unless it is
absolutely necessary? And it most certainly is NOT necessary for
any postings you'll ever make.

Thank you.

cordially, as always,

rm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 09:23 PM
dcba@dcba.dcba.org
 
Posts: n/a
Default Re: Display syslog results?

Carlton Whitmore <cwhitmoreNOSPAM@nospamaustin.rr.com> wrote:
> I have the syslogd running, but I'm having hard time figuring out where the
> logs file are located.


/var/log

> Also, I am wanting to setup a website that displays them in PHP.
> I've searched the php sites I could find, but I can't find a
> script that does this.


http://php.resourceindex.com

> Can someone help?
> Also, are there any good books for newbie Slackware users?


No.

cordially, as always,

rm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 09:23 PM
dcba@dcba.dcba.org
 
Posts: n/a
Default Re: Display syslog results?

Carlton Whitmore <cwhitmoreNOSPAM@nospamaustin.rr.com> wrote:

> I have the syslogd running, but I'm having hard time figuring out
> where the logs file are located. Also, I am wanting to setup a
> website that displays them in PHP.


The log files are in /var/log.

> I've searched the php sites I could find, but I can't find a
> script that does this.


http://php.resourceindex.com

> Can someone help?


> Also, are there any good books for newbie Slackware users?


Nope.

> thanks again,


> Carlton.


cordially, as always,

rm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 09:24 PM
/dev/rob0
 
Posts: n/a
Default Re: Display syslog results?

In article <9T9Eb.67114$HH.24421@fe1.texas.rr.com>,
Carlton Whitmore wrote:
> I have the syslogd running, but I'm having hard time figuring out where the
> logs file are located.


This is answered. You can add things to your syslog.conf; I do this on
all my systems:
#v+
# all log output to tty12
*.* /dev/tty12
# and to log host
#*.* @log.my-local.domain
#v-

This trick enables a quick way to protect my keyboard from kids. I
switch to tty12, where they can type to their hearts' content. I'm safe
until they figure out how to switch TTY's or learn Ctrl-Alt-Del. But by
that time they will surely understand why NOT to do that on Dad's
'puter.

On some systems I uncomment the last line, so their syslog also goes to
a host configured in my local DNS as "log" (a CNAME to another record.)
That may be in addition to, or in place of, logging in local files. Then
on that "log" host I enable remote reception (see "man syslogd".)

> Also, I am wanting to setup a website that displays them in PHP.


For this purpose you'd probably want to use a named pipe (see that
section in "man syslog.conf") rather than watching the log files
directly. You can create the FIFO with mkfifo or mknod.

> I've searched the php sites I could find, but I can't find a script that
> does this.


There are scores of log-monitoring utilities out there. You're probably
not using the right search terms. I suggest "syslog monitor" and some
variations of "html web http". If you're set on using a PHP solution,
you will do better asking in a PHP-oriented forum.

> Also, are there any good books for newbie Slackware users?


See the FAQ for this newsgroup.
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-18-2008, 09:24 PM
Mark Hill
 
Posts: n/a
Default Re: Display syslog results?

On Thu, 18 Dec 2003 11:09:23 -0800,
/dev/rob0 <rob0@gmx.co.uk> wrote:
>
> This trick enables a quick way to protect my keyboard from kids. I
> switch to tty12, where they can type to their hearts' content. I'm safe
> until they figure out how to switch TTY's or learn Ctrl-Alt-Del.


FWIW, Ctrl-Alt-Del can be limited to certain users, (or to deny all),
with /etc/shutdown.allow. That may keep your computer safe for a bit
longer.


--
Mark Hill <usenet@mark.ukfsn.org> (Yahoo address not read)
GPG KeyID: 4A3B58AC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:07 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com