A general logging misunderstanding

3 views
Skip to first unread message

Bob Mattax

unread,
Jun 6, 2008, 3:56:39 PM6/6/08
to cimlogbook
I'm trying to do some debugging in an application of mine, and I think
I just don't understand how logging works well enough to actually get
where I want.

I've gotten LogBook working with my app, but sometimes I'm getting
duplicate, triplicate, etc messages in a situation where I should only
be getting one. Like I said, I'm sure its me just not using the
various pieces correctly.

If I have multiple classes, and want to do LogBook debugging in each
of them, how should this use these logging classes?

Any help is appreciated.

Thanks,
Bob

arpit

unread,
Jun 7, 2008, 12:36:27 AM6/7/08
to cimlogbook
Hi Bob,

Its hard to figure out what you could be doing without any code here,
but one thing to check out would be to make sure you dont have another
version of the application running in a different browser tab or
another window. Unfortunately LogBook does not disconnect from the old
application instance when a new one is launched, and Flex Builder
usually launches new instances of an app under different tabs.

If you have multiple classes, all you should have to do is import the
appropriate Logging classes (cim logging framework of the Flex Logging
framework, which are you using ? ) and then call the Logger functions.
Can you copy some code here that we could look at ?

-arpit
Reply all
Reply to author
Forward
0 new messages