Closed dagurval closed 10 years ago
Turns out that this is caused by buffering. It works as expected when you run the crawler manager from the console, but not when you run it as a daemon.
As stated in perlvar “…STDOUT will typically be line buffered if output is to the terminal and block buffered otherwise”. Thus STDOUT is also buffered when run in daemon mode, and will be printed, but it may take a while.
When running a custom crawler in admin interface, any line written to stdout does not show up in crawler run output.
Anything printed to stderr does however show, for example: