I did this but now it will log to out.log file. I want to
do all logging via JDBC since the IO is a high price via a
file. I assum that there is a way to turn off the
system.out and the out.log file. Does anyone have any
suggestions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
By doing the above, it foces a out.log file to be created.
Yes it does stop the writting out to the console, but it
now writes it to the out.log. To correct this I modifed
grace.log.Log.addHandler(String name).
added a check at the beging of the method, if it passes the
test, continue with the method. If if fails, skip the
method entirely.
if (!name.equalsIgnoreCase(standardOutName) ||
System.getProperty(handlerPropertyPrefix +
standardOutName, "").equalsIgnoreCase("true"))
Thanks
Kyle
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: NO
I did this but now it will log to out.log file. I want to
do all logging via JDBC since the IO is a high price via a
file. I assum that there is a way to turn off the
system.out and the out.log file. Does anyone have any
suggestions?
Logged In: YES
user_id=201742
By doing the above, it foces a out.log file to be created.
Yes it does stop the writting out to the console, but it
now writes it to the out.log. To correct this I modifed
grace.log.Log.addHandler(String name).
added a check at the beging of the method, if it passes the
test, continue with the method. If if fails, skip the
method entirely.
if (!name.equalsIgnoreCase(standardOutName) ||
System.getProperty(handlerPropertyPrefix +
standardOutName, "").equalsIgnoreCase("true"))
Thanks
Kyle