🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #52576

Log::Log4perl i Test::More, użycie wspólnego pliku

#52576
From: Piecia aka dracorp
Date: Mon, 21 Sep 2015 07:19
10 lines
1891 bytes
Witam
Może ktoś przerabiał podobny problem jak współdzielić plik do zapisu informacji pomiędzy Log::Log4perl i Test::More? 
W swoim skrypcie/module używam Log::Log4perl do zapisywania informacji do pliku i wyświetlania ich na konsoli. Test::More wykorzystuję do pewnych testów/weryfikacji. 
Ale niestety nie wiem jak sensownie użyć pliku do którego zapisuję za pomocą Log4perl do zapisu informacji pochodzących z Test::More.
Oczywiście zależy mi też na tym aby te informacje szły na STDOUT.

Może ktoś będzie w stanie pomóc?

-- 
Pozdrawiam Piotr
Technical Details
Message-ID: <56a8aa89-a5f1-47ac-9725-e785f169bf39@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!feeder.erje.net!us.feeder.erje.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!z77no2582299qge.1!news-out.google.com!f6ni11307igi.0!nntp.google.com!kq10no5933066igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Received: by 10.129.70.6 with SMTP id t6mr17052572ywa.5.1442819969953;        Mon, 21 Sep 2015 00:19:29 -0700 (PDT)
X-Received: by 10.50.111.43 with SMTP id if11mr86196igb.1.1442819969913; Mon, 21 Sep 2015 00:19:29 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!feeder.erje.net!us.feeder.erje.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!z77no2582299qge.1!news-out.google.com!f6ni11307igi.0!nntp.google.com!kq10no5933066igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: pl.comp.lang.perl
Date: Mon, 21 Sep 2015 00:19:29 -0700 (PDT)
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=195.60.216.126; posting-account=ohlE0woAAADrpn6HW1551lk3wKkUxvh3
NNTP-Posting-Host: 195.60.216.126
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <56a8aa89-a5f1-47ac-9725-e785f169bf39@googlegroups.com>
Subject: Log::Log4perl i Test::More, użycie wspólnego
 pliku
From: Piecia aka dracorp <piotr.rogoza@wp.eu>
Injection-Date: Mon, 21 Sep 2015 07:19:29 +0000
Lines: 13
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit