Is there anyway that the errors can be written to a file somewhere?
I am using JasperPHP, so that I can use JasperStarter in a PHP application. When I run my command at the command line I get:
```
Parameter 'report_type_id' of type 'java.lang.Integer caused java.lang.NumberFormatException For input string: "terwt".
```
I need some way of getting this error to my application. I thought that if there was an option to write this to a file, I could read the file and display the error?
Thanks,
Mick
Linux (Centos)
I’ve just finished coding support for JAS-97. As part of that, all messages from jasperstarter’s “process” command now goes to stderr, including errors and the output of the -v option (if used). stderr can of course be redirected toa file if needed. Does that help?
Note that if the -v option is NOT used, most output seems to consist of errors and warnings. For example, on my system, I see this:
With OpenJDK8 there are no warnings. See JAS-124
Since is merged, can this be closed?
Can now be achieved by redirecting stderr to file.