• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: sql logging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sql logging


  • Subject: Re: sql logging
  • From: Timothy Worman <email@hidden>
  • Date: Fri, 06 Feb 2015 11:38:57 -0800

Hola!

With Wonder you want to do these:

# Enable delegate to emit SQL debugging info. The Logger used is
log4j.category.er.extensions.ERXAdaptorChannelDelegate.sqlLogging=DEBUG
#  put this to true if you want to log sql stuff
er.extensions.ERXAdaptorChannelDelegate.enabled=true
# How long a statement must run to cause a log message. Messages with longer than
# error also emit a stack-trace
er.extensions.ERXAdaptorChannelDelegate.trace.milliSeconds.debug=0
er.extensions.ERXAdaptorChannelDelegate.trace.milliSeconds.info=50
er.extensions.ERXAdaptorChannelDelegate.trace.milliSeconds.warn=1000
er.extensions.ERXAdaptorChannelDelegate.trace.milliSeconds.error=5000
# MaxLength of the message
er.extensions.ERXAdaptorChannelDelegate.trace.maxLength = 30000
# What entities to watch
er.extensions.ERXAdaptorChannelDelegate.trace.entityMatchPattern = .*

Tim Worman
UCLA GSE&IS



> On Feb 6, 2015, at 11:18 AM, Theodore Petrosky <email@hidden> wrote:
>
> I have googled, searched the wiki, and tried everything I could think of, but I can not get my sql  to log. In my properties:
>
> # ERExtensions
> # Transaction - Switching this to debug will start the sql ouputting.
> log4j.logger.er.transaction.adaptor.EOAdaptorDebugEnabled=DEBUG
>
> still no SQL  :-(
>
> I tried in the Launch Configuration Properties
>
> EOAdaptorDebugEnabled=true
>
> Please, I want to see my SQL.
>
> Ted
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >sql logging (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: sql logging
  • Next by Date: Re: limiting popupbutton list with a fetchSpec
  • Previous by thread: sql logging
  • Next by thread: Re: sql logging
  • Index(es):
    • Date
    • Thread