Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6224483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:40:51+00:00 2026-05-24T08:40:51+00:00

I am trying to write a custom logger target by extending TraceTarget and overriding

  • 0

I am trying to write a custom logger target by extending TraceTarget and overriding the mx_internal function internalLog. I would like to send the occasional error log to our server for recording. I am doing this using an HTTPService, and sending it each time internalLog() is called.

However, if one does the following,

logTarget = new StandardLogTarget();
logTarget.filters=["*"];        
logTarget.level = LogEventLevel.ALL;

the log target picks up logs generated by the HTTPService object inside the StandardLogTarget object. This produces an infinite loop. Also, I’m not concerned with the logs generated by the custom logger.

Is there a way around this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:40:52+00:00Added an answer on May 24, 2026 at 8:40 am

    You probably don’t care about this problem anymore, but a quick google search brought up your question, followed by a blog posting from an EffectiveUI employee about adding an exclusion filter to the Flex logging framework.

    http://www.behindtheui.com/2008/09/adding-exclusion-to-flex-logging.html

    It was back in 2008, so it’ll be for Flex 3 – but the logging part of the framework doesn’t seem to have changed much since then.

    Alternatively you could also override the logEvent function to exclude any calls that are causing you problems, as demonstrated below.

    http://techpolesen.blogspot.com/2007/07/sending-logs-to-server-using-custom.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write a custom servlet (for AJAX/JSON) in which I would like
I'm trying to write a custom function that will let me retrieve a cell
I'm trying to write a custom Panel class for WPF, by overriding MeasureOverride and
I am trying to write a custom string splitting function, and it is harder
I'm trying to write a custom cmp function for a map, a simple one
I'm trying to write a custom WPF ValidationRule to enforce that a certain property
I am trying to write a custom tag. I can write attributes; however, I'm
I'm trying to write a custom rendering template for use in the DisplayForm of
I am trying to write a custom script that will keep a list of
I am trying to write a custom select statement in Hibernate using the getHibernateTemplate()

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.