Summary: | slon_start file descriptor redirection wrong | ||
---|---|---|---|
Product: | Slony-I | Reporter: | Peter Eisentraut <peter> |
Component: | altperl | Assignee: | Slony Bugs List <slony1-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | slony1-bugs |
Priority: | medium | ||
Version: | 1.2 | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | Patch |
Applied to CVS HEAD... |
Created attachment 9 [details] Patch The way the function start_slon in slon-tools.pm assembles the command line creates a command that looks like this: slon ... 2>&1 >logfile & This ends up dumping the error messages on the console (or wherever) and only stdout to the log file. What you want is this: slon ... >logfile 2>&1 & The attached patch fixes this.