[EMAIL PROTECTED] wrote:
>
> Is it possible to suppress the console output on the server when findByPrimaryKey
>does not find a row? The problem is, when
> the user types in some search critera (a pk to lookup) it could happen as a quite
>normal reaction that the system cannot find
> that pk. And we do not want our system to dump out such a lot of lines each time our
>software does a quite normal reaction...
Currently, there is no other mean than redirecting error messages in a
file, because this is considered as an error.
Typically, set in your trace.properties this kind of lines:
trace.out myFileLog
trace.err myfileLog
I will consider to change this and use the DB_31 trace level instead.
All trace messages can be removed then by setting trace level to none:
JonasAdmin -t none
This does not apply to error messages!
--
Philippe Durieux ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bull - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED]
-> Download our EJBServer at http://www.evidian.com/ejb <-
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".