Piecia aka dracorp
unread,Sep 22, 2015, 9:55:42 AM9/22/15You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Poniekąd to "rozwiązałem" używając tee w skrypcie:
* dla Log::Log4perl otworzyłem plik z trybem append
* dla Test::More utworzyłem uchwyt do polecenia "| tee --append $log_file", ustawiłem $OUTPUT_AUTOFLUSH = 1 ($|) i wybrałem STDOUT za pomocą select.
W praktyce działa, ale czasem informacje pojawiają się nie tam gdzie trzeba. Na szczęście jest to sporadyczne. Przy testowaniu na prostym skrypcie o dziwo wyglądało to znacznie gorzej.
--
Pozdrawiam Piotr