Log Viewing And Sizes Of Logs
From: CabloGoobla (noreply_at_all.plop)
Date: 05/23/04
- Next message: anc: "Re: Very simple question"
- Previous message: lukasszz: "Does Lexmark Z605 printer work in Red Hat?"
- Next in thread: Matt_left_coast: "Re: Log Viewing And Sizes Of Logs"
- Reply: Matt_left_coast: "Re: Log Viewing And Sizes Of Logs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 23 May 2004 09:36:37 +0100
Hello,
Everyday I check the logs from my mail server. To do this, I ssh over to
the server, 'su -' to root and 'cp' the 'maillog' to a user directory. I
log out from the ssh connection, and then FTP the copied 'maillog' back to
my machine here. After opening up 'redhat-logviewer', I change the
location of the mail log to that of the freshly copied 'maillog' from my
mail server, and view it that way.
I don't mind doing this, as it only takes a few minutes to do, but I was
wondering if there was a quicker way. I have tried ssh'ing into the mail
server, rooting, copying the 'maillog' over to a home directory, and using
'vim' to view it. However, I find it much easier to read using
'redhat-logviewer'. How do you guys/gals do it ?
On a related note, where is the setting that controls the size of logs ?
I'm happy to keep them at their defaults, but I'm just wondering how big
log files have to get before they're truncated or refreshed. I ask this as
somehow I managed to have a file on my mail server called 'lastlog' that
was 18MB in size. :/ I think to be honest it had something to do with me
deleting the previous 'maillog' that existed there, as I can't remember
seeing it before I did that. After a reboot of the machine, a new
'maillog' was created and I haven't seen hide nor hair of any 'lastlog's
since then.
By the way, I'm running RedHat 9.0 and so is my mail server. I use
sendmail-8.12.8-9.90 on both.
Thanks for any information anyone might have and sorry if my questions
sound stupid to you all. :/
Regards,
CB.
- Next message: anc: "Re: Very simple question"
- Previous message: lukasszz: "Does Lexmark Z605 printer work in Red Hat?"
- Next in thread: Matt_left_coast: "Re: Log Viewing And Sizes Of Logs"
- Reply: Matt_left_coast: "Re: Log Viewing And Sizes Of Logs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|