[jpos-users] changing debug to info

View: New views
5 Messages — Rating Filter:   Alert me  

[jpos-users] changing debug to info

by Miguel Angel Iglesias-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello, 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 info

by Alejandro Revilla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The 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

by Miguel Angel Iglesias-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
 


-----Original Message-----
From: apr@...
Sent: Thu, 8 Oct 2009 17:52:15 -0200
To: jpos-users@...
Subject: [jpos-users] Re: changing debug to info

The 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

by Alejandro Revilla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You 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:
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

 


-----Original Message-----
From: apr@...
Sent: Thu, 8 Oct 2009 17:52:15 -0200
To: jpos-users@...
Subject: [jpos-users] Re: changing debug to info

The 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

by Miguel Angel Iglesias-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, thanks
 


-----Original Message-----
From: apr@...
Sent: Thu, 8 Oct 2009 18:31:18 -0200
To: jpos-users@...
Subject: [jpos-users] Re: changing debug to info

You 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:
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

 


-----Original Message-----
From: apr@...
Sent: Thu, 8 Oct 2009 17:52:15 -0200
To: jpos-users@...
Subject: [jpos-users] Re: changing debug to info

The 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
-~----------~----~----~----~------~----~------~--~---