On Mon, Oct 11, 2004 at 01:25:34PM +0800, JM Ibanez wrote: > Anyone know of an alternative or workaround, so I can centralize all > logs on that machine?
For applications that don't support anonymous and/or named pipe, you may create a multitasking program which does "tail -f" on log files and relays to syslog. If Perl is an option, I recommend using POE[1]. There's already a POE cookbook recipe[2] that does simple "tail -f" and follows log rotations. HTH [1] http://poe.perl.org/?What_POE_Is [2] http://poe.perl.org/?POE_Cookbook/Watching_Logs -- $_=q:; # SHERWIN # 70;72;69;6e;74;20; 27;4a;75;73;74;20; 61;6e;6f;74;68;65; 72;20;50;65;72;6c; 20;6e;6f;76;69;63; 65;27;:;;s=~?(..); ?=pack q$C$,hex$1; ;;;=egg;;;;eval;;; -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
