S
sbk
hi,
i have an application which insists on writing to its own log file,
rather than to syslog. rather than modifying the application, i would
like to intercept what it sends to this file and redirect it to syslog
i'm imagining that i can write a program to do this ... but i'm having
trouble getting started. would someone familiar with this process
offer me key words?
[is this a 'named pipe' that i want to create? i'm imagining that i
would replace the application's logfile with a 'named pipe' and then
write a perl program to read from that named pipe ... that program
would write whatever it received from the named pipe to syslog. as
long as my program continues to function ... the application outta be
just fine ... ]
--sk
stuart kendrick
fhcrc
i have an application which insists on writing to its own log file,
rather than to syslog. rather than modifying the application, i would
like to intercept what it sends to this file and redirect it to syslog
i'm imagining that i can write a program to do this ... but i'm having
trouble getting started. would someone familiar with this process
offer me key words?
[is this a 'named pipe' that i want to create? i'm imagining that i
would replace the application's logfile with a 'named pipe' and then
write a perl program to read from that named pipe ... that program
would write whatever it received from the named pipe to syslog. as
long as my program continues to function ... the application outta be
just fine ... ]
--sk
stuart kendrick
fhcrc