|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
[jpos-users] changing debug to infoHello, this is probably a silly question, but anyway: In my classes I have multiple .debug sentences that give me information abut what is happening, I thought that when I change the debug="true" to "false" in the TM this outputs would disappear from q2.log... but they haven't. I also look the log4j.properties, the 00_logger.xml and the wrapper.conf(in the logging part) but everything is set to INFO, so, why my debug messages still coming up? btw, thy dont say "debug", but "trace", ie: <log realm="notificar" at="Thu Oct 08 15:20:25 EDT 2009.664"> <trace> Enviando el mensaje... </trace> </log> thanks in advance --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
|
|
[jpos-users] Re: changing debug to infoThe debug=true at the TM level has nothing to do with the log, it just enables debugging of the TM itself.
You can use a participant-level configuration to enable/disable debugging. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
|
|
[jpos-users] Re: changing debug to info
I guessed that you meant add this to the participant configuration in the TM:
<property name="debug" value="false"/> But didn't work, did you mean something else? Maybe the solution is to check, by hand, if the property exist, and if is true, then print the debug? There is no builtin solution? thanks
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
|
|
[jpos-users] Re: changing debug to infoYou need to check for that value in your code, i.e:
if (cfg.getBoolean ("debug")) // do your debug statement. On Thu, Oct 8, 2009 at 6:23 PM, Miguel Angel Iglesias <caente@...> wrote:
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
|
|
[jpos-users] Re: changing debug to info
Ok, thanks
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "jPOS Users" group. Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first To post to this group, send email to jpos-users@... To unsubscribe, send email to jpos-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/jpos-users -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |