Couldn't find a clear answer via google, so am choosing to pick your brains on this....
How does one get error information, for debugging, going into a text file instead of to the terminal window?
The context is a Catalyst App started via a Plackup command.
Do I add something to that command line command (does 2> work with plackup?),
or do I add something to the script in my Catalyst app?
Either way, I'd like STDERR to go to a specified text file, instead of to the terminal window.
It sounds stupidly simple, only a few google searches later, the answer is still surprisingly unclear, =S.
Grateful for any help.
If there's more than one way to do it, any advice on best practice also appreciated.
Yours,
Andrew.
How does one get error information, for debugging, going into a text file instead of to the terminal window?
The context is a Catalyst App started via a Plackup command.
Do I add something to that command line command (does 2> work with plackup?),
or do I add something to the script in my Catalyst app?
Either way, I'd like STDERR to go to a specified text file, instead of to the terminal window.
It sounds stupidly simple, only a few google searches later, the answer is still surprisingly unclear, =S.
Grateful for any help.
If there's more than one way to do it, any advice on best practice also appreciated.
Yours,
Andrew.