Results 1 to 4 of 4

Thread: How to capture output of....

  1. #1
    Join Date
    Aug 2004
    Location
    Stockholm
    Posts
    466

    Default How to capture output of....

    ...classes
    Code:
    org.springframework.aop.interceptor.DebugInterceptor
    and

    Code:
    org.springframework.aop.interceptor.PerformanceMonitorInterceptor
    ?
    Sincerely,
    /The Cantor

    "Murphy was an optimist"
    (The O'Toole commentary on Murphy's Law)

  2. #2
    Join Date
    Aug 2004
    Location
    Montréal, Canada
    Posts
    845

    Default

    These interceptors use Jakarta Commons Logging to return the result. So you need to enable Debug level logging for these classes. You can also redirect the output to a file. For more information take a look at Common Logging - sUser Guide and Short introduction to log4j.
    HTH
    Omar Irbouh

    Spring Modules Team
    http://irbouh.blogspot.com/

  3. #3
    Join Date
    Aug 2004
    Location
    Stockholm
    Posts
    466

    Default

    I have log4j enabled.

    The docs say that the logger is named "logger", but I can't get any output from it. Probably the whole AOP-thing that just won't work for me...
    Sincerely,
    /The Cantor

    "Murphy was an optimist"
    (The O'Toole commentary on Murphy's Law)

  4. #4
    Join Date
    Aug 2004
    Location
    Stockholm
    Posts
    466

    Default

    Last edited by robyn; May 19th, 2006 at 05:30 AM.
    Sincerely,
    /The Cantor

    "Murphy was an optimist"
    (The O'Toole commentary on Murphy's Law)

Similar Threads

  1. Replies: 3
    Last Post: Dec 2nd, 2010, 08:34 AM
  2. Beandoc crashing (on its samples!)
    By aaime in forum Container
    Replies: 17
    Last Post: Oct 7th, 2005, 07:21 AM
  3. Replies: 3
    Last Post: Jul 28th, 2005, 04:29 PM
  4. Capture ACEGI_SECURITY_FORM_USERNAME_KEY
    By sklakken in forum Security
    Replies: 3
    Last Post: May 10th, 2005, 08:30 AM
  5. Step-by-step tutorial - wrong output
    By jconsult in forum Web
    Replies: 7
    Last Post: Sep 12th, 2004, 03:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •