[OFBiz] Dev - How to get Debug Messages to work?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Dev - How to get Debug Messages to work?

Michael Irving

I created a class for one of my services.  In it, I have the following:

 

Debug.logInfo("fetching  " + procCall, module);

 

..but I’m not seeing this message in <ofbiz_home>/logs/ofbiz.log.  I tried to set the message level “on” with:

 

Debug.set(3, true);

 

…but this didn’t help.

 

I looked in other classes to see what they are doing….what did I not see in the other classes that have this working?  I’m sure it’s something very obvious that I’m just not catching.

 

Thanks,

 

-Mike

 

-----------------------------------------

Michael Irving

Keynetx, Inc. - Building Solutions for Success

Mobile: (267)474.3564

Fax: (425) 871-2838

email: [hidden email]

 

* * * Visit Our Web Site: http://www.keynetx.net * * *

 

--------------------------------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

 


 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Dev - How to get Debug Messages to work?

David E. Jones

Mike,

Could be a missing log4j entry. I thought our setup would catch  
anything that wasn't in a package explicitly listed in our  
debug.properties file, but I'm not sure about that. Try adding  
something like:

log4j.logger.com.myco=INFO

or something like that to the debug.properties file (which is also  
our Log4J config file).

-David


On Aug 21, 2005, at 7:18 AM, Michael Irving wrote:

> I created a class for one of my services.  In it, I have the  
> following:
>
>
>
> Debug.logInfo("fetching  " + procCall, module);
>
>
>
> ..but I’m not seeing this message in <ofbiz_home>/logs/ofbiz.log.  
> I tried to set the message level “on” with:
>
>
>
> Debug.set(3, true);
>
>
>
> …but this didn’t help.
>
>
>
> I looked in other classes to see what they are doing….what did I  
> not see in the other classes that have this working?  I’m sure it’s  
> something very obvious that I’m just not catching.
>
>
>
> Thanks,
>
>
>
> -Mike
>
>
>
> -----------------------------------------
> Michael Irving
> Keynetx, Inc. - Building Solutions for Success
> Mobile: (267)474.3564
> Fax: (425) 871-2838
> email: [hidden email]
>
> * * * Visit Our Web Site: http://www.keynetx.net * * *
>
> ----------------------------------------------------------------------
> ----------
> NOTICE: If received in error, please destroy and notify sender.  
> Sender does not waive confidentiality or privilege, and use is  
> prohibited.
>
>
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev