Marche pas :-( > >Le jeu 07/11/2002 � 15:00, NDV a �crit : > > >> *.* /dev/tty2 >> >> La ligne vers tty2 m'int�resse tr�s fort et je voudrais bien colorer certaines >> des lignes qu'il va me ressortir sur la secone console. J'ai trouv� ce >programme >> en PERL: www.fibrespeed.net/~mbabcock/projects/logcolourise.php >> >> Ok, comment je link *.* /dev/tty2 sur ce programme PERL? Une uatre id�e? > >Voici ce que je ferais. >1�) changer mon syslog.conf: >*.* /var/log/monlog > >2�) Lancer au boot (rc.local) la commande suivante >/usr/bin/tail -f /var/log/monlog | /usr/bin/logcolorise.pl > /dev/tty12 >& > >Ce qio fera s'afficher les logs en couleurs sur la console 12 (qui est >en tout cas sur RedHat inutilis�e)
_______________________________________________________ Linux Mailing List - http://www.unixtech.be Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux Archives: http://www.mail-archive.com/linux@;lists.unixtech.be IRC: efnet.unixtech.be:6667 - #unixtech

