Re: [HACKERS] RFC: New log_destination 'fifo'

2012-11-08 Thread Joshua D. Drake
On 11/07/2012 02:46 PM, David Fetter wrote: On Wed, Nov 07, 2012 at 12:55:03PM -0800, Joshua D. Drake wrote: Hello, So it is possible to do this in other ways but I thought it might be interesting to allow people to define fifo or pipe as a log_desination. This would allow a person to tail

Re: [HACKERS] RFC: New log_destination 'fifo'

2012-11-08 Thread Joshua D. Drake
On 11/07/2012 10:22 PM, Peter Eisentraut wrote: On Wed, 2012-11-07 at 12:55 -0800, Joshua D. Drake wrote: So it is possible to do this in other ways but I thought it might be interesting to allow people to define fifo or pipe as a log_desination. You could do this with a logging hook as a

[HACKERS] RFC: New log_destination 'fifo'

2012-11-07 Thread Joshua D. Drake
Hello, So it is possible to do this in other ways but I thought it might be interesting to allow people to define fifo or pipe as a log_desination. This would allow a person to tail the fifo to receive the outputs of the log as it happens but would not take up precious IO or space from the

Re: [HACKERS] RFC: New log_destination 'fifo'

2012-11-07 Thread Magnus Hagander
On Wed, Nov 7, 2012 at 9:55 PM, Joshua D. Drake j...@commandprompt.com wrote: Hello, So it is possible to do this in other ways but I thought it might be interesting to allow people to define fifo or pipe as a log_desination. This would allow a person to tail the fifo to receive the outputs

Re: [HACKERS] RFC: New log_destination 'fifo'

2012-11-07 Thread David Fetter
On Wed, Nov 07, 2012 at 12:55:03PM -0800, Joshua D. Drake wrote: Hello, So it is possible to do this in other ways but I thought it might be interesting to allow people to define fifo or pipe as a log_desination. This would allow a person to tail the fifo to receive the outputs of the

Re: [HACKERS] RFC: New log_destination 'fifo'

2012-11-07 Thread Peter Eisentraut
On Wed, 2012-11-07 at 12:55 -0800, Joshua D. Drake wrote: So it is possible to do this in other ways but I thought it might be interesting to allow people to define fifo or pipe as a log_desination. You could do this with a logging hook as a plugin, so you don't have to make the effort to