<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Worked a treat! Many thanks! =).</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Yours,</FONT></DIV>
<DIV><FONT size=2>Andrew.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=pas.freelance@googlemail.com
href="mailto:pas.freelance@googlemail.com">Patrick Kilter</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=catalyst@lists.scsys.co.uk
href="mailto:catalyst@lists.scsys.co.uk">The elegant MVC web framework</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, December 15, 2015 8:35
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Catalyst] STDERR/Debug/Log
File</DIV>
<DIV><BR></DIV>
<DIV dir=ltr>Hi,
<DIV><BR></DIV>
<DIV>did you tried "&> /tmp/logfile"? I tried it with my App and it
redirected all the output in the given Textfile.</DIV>
<DIV><BR></DIV>
<DIV>Best Regards,</DIV>
<DIV><BR></DIV>
<DIV>Patrick</DIV></DIV><BR>
<DIV class=gmail_quote>
<DIV dir=ltr>Andrew <<A
href="mailto:catalystgroup@unitedgames.co.uk">catalystgroup@unitedgames.co.uk</A>>
schrieb am Di., 15. Dez. 2015 um 08:41 Uhr:<BR></DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><U></U>
<DIV bgcolor="#ffffff">
<DIV><FONT size=2>Couldn't find a clear answer via google, so am choosing to
pick your brains on this....</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>How does one get error information, for debugging,
going into a text file instead of to the terminal window?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>The context is a Catalyst App started via a Plackup
command.</FONT></DIV>
<DIV><FONT size=2>Do I add something to that command line command (does
2> work with plackup?),</FONT></DIV>
<DIV><FONT size=2>or do I add something to the script in my Catalyst
app?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Either way, I'd like STDERR to go to a specified text
file, instead of to the terminal window.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>It sounds stupidly simple, only a few google searches
later, the answer is still surprisingly unclear, =S.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Grateful for any help.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>If there's more than one way to do it, any advice on best
practice also appreciated.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Yours,</FONT></DIV>
<DIV><FONT size=2>Andrew.</FONT></DIV>
<DIV><FONT
size=2></FONT> </DIV></DIV>_______________________________________________<BR>List:
<A target=_blank
href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</A><BR>Listinfo:
<A target=_blank
href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst"
rel=noreferrer>http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</A><BR>Searchable
archive: <A target=_blank
href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/"
rel=noreferrer>http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</A><BR>Dev
site: <A target=_blank href="http://dev.catalyst.perl.org/"
rel=noreferrer>http://dev.catalyst.perl.org/</A><BR></BLOCKQUOTE></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>List:
Catalyst@lists.scsys.co.uk<BR>Listinfo:
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst<BR>Searchable
archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/<BR>Dev site:
http://dev.catalyst.perl.org/<BR></BLOCKQUOTE></BODY></HTML>