RE: Logging HP Laserjet Printer to a linux machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can setup a cron job to parse out the info..Add the following to
/etc/crontab

*/10 * * * * root cat /var/log/messages | grep printername >
/var/log/printer.log

Otherwise, I think you would need something like Syslog NG.. 

Hope this helps... 

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Reuben D. Budiardja
Sent: Thursday, February 10, 2005 4:04 PM
To: General Red Hat Linux discussion list
Subject: Re: Logging HP Laserjet Printer to a linux machine

On Thursday 10 February 2005 12:02, O'Neill, Donald (US - Deerfield)
wrote:
> You'll need to have y your RHEL 3 machine accept syslog messages from
> other devices..
>
> Edit the /etc/sysconfig/syslog file and add a -r for the options
>
> SYSLOGD_OPTIONS="-m 0 -r"

In this case, will the log goes to /var/log/messages? Is there any easy
way to 
send logs from remote machine to different file?

Thanks for the pointer.
RDB
-- 
Reuben D. Budiardja
Dept. Physics and Astronomy
University of Tennesse, Knoxville, TN

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/M/MU/P/S d-(++) s: a-- C++(+++) UL++++ P-- L+++>++++ E- W+++ 
N+ o? K- w--- !O M- V? !PS !PE Y PGP- t+ 5 X R- tv+ 
b++>+++ DI D(+) G e++>++++ h+(*) r++ y->++++
------END GEEK CODE BLOCK------

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law.  If you are not the intended recipient, you should delete this message.  Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux