Flex :: Externally Configure Logging In App?
Dec 24, 2009
I was wondering what people are using for externally configuring logging in a Flex app. Are there any ready baked solutions out there, similar to Log4J's configuration via properties files for instance?
View 1 Replies
Similar Posts:
Jul 5, 2011
Based on this guide, I have enabled debug level logging and also enabled date, time, level and category logging.
This works great, except now I am seeing all my data that's returned being logged. Is there a way to disable this? I would still like to see the calls logged. I've tried info level, but that turns off request logging.
View 1 Replies
Mar 18, 2011
Is it possible to trace every single method call in flex/actionscript by injecting logging statements some way? Like how it's possible in C# using PostSharp.
View 1 Replies
Sep 1, 2011
i'm looking for a possibility to log messages in my flex 4.5 Project. This should cover errormessages in remoteClasses, errorHandler or messages typing by hand. After reading a lot of webpages, the solution from parslay looks good. i want to switch to this framework anyway. the benefit is the possibility to configure the logging behavior at runtime. but i don't understand the documentation. perhaps because I'm brandnew in parsley. Also google has no fitting result.
[Code]...
View 1 Replies
Aug 5, 2010
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=["*"];
[code]......
View 1 Replies
Dec 29, 2010
I am using FlexUnit4 with FlashBuilder4. A lot of the classes that I'm unit testing make use of the Flash Logger.In the main app, we use TraceTarget so that the logging shows up in the trace window, which greatly aids in debugging:[code]I'd like to do the same thing for the unit test runner that FlashBuilder generates (FlexUnitApplication.mxml), but I'm not sure how to go about it. I could, of course, add TraceTarget to FlexUnit Application. mxml, but as the warning at the top of the file says,My question is: how do I get logging-to-trace to work with FlashBuilder and FlexUnit?
View 1 Replies
Jul 1, 2009
i need to connect to two different domains from a single flex application. the problem is the domain other than the current hosted domain is unable to login. letz say i hosted the application at LOCAL server. im able to login to the local server . From the existing application i need a login to the MAIN server too. The problem comes up here. flash security is not allowing login to MAIN server. in crossdomain we allow-access-from MAIN server. but i want access to the MAIN server from LOCAL server. is ther nything i need to put extra in [URL]?
View 1 Replies
Feb 2, 2012
Is it possible to enable verbose build logging in Flash Builder? Ideally, I want to be able to see the exact arguments that are being passed to the mxmlc.exe compiler. Context: I'm currently trying to automate our build process using GradleFx so we can move away from using Flash Builder and run our build on a CI server. At present, I'm running into a few problems and my lack of knowledge about the flash/flex build process is impeding progress. Being able to see what the FB project translates to would greatly aid me in being able to set up the new build scripts.
View 1 Replies
Apr 9, 2010
I have been trying to test my application to make sure that all the important classes can serialize/reload themselves properly (especially those which implement IExternalizable):
[Test]
public function testMyObjectSerialization():void {
var myobj:MyObject = new MyObject();[code]....
And I would like to be warned when I try to serialize a strongly-typed object which does not have a [RemoteClass] set (because that almost certainly represents a bug in my code).So, is there any way to configure the AMF serializer to give warnings?Also, it seems like this might be possible using services-config.xml... But the documentation seems to imply that services-config is channel-level, and I'd really like it if my unit tests could run without talking to the server (and I'm not using LCDS, so a bunch of the services-config wouldn't apply to me anyway).
View 1 Replies
Feb 16, 2011
I would like to know how to configure the flex crossdomain.xml in tipfy with the Google app engine skd. Tipfy is a framework using in Gae. I would like to know: where I can place the crossdomain.xml, in the root or other place, do I need script to redirect to the xml, what files that I need to modify, eg. app.yaml. Any other things or file I need to modify or create to make it work.
View 2 Replies
Dec 12, 2011
I've downloaded BlazeDS 4 and installed in on my Tomcat server. How can I make it to listen to port distinct from 8080? I change port in channels configuration in services-config.xml, and my client application sends requests for new port, but they failHow can I make server listen to custom port?
View 2 Replies
Oct 5, 2011
I'm trying to configure BlazeDS to work over HTTPS. We've got Apache in the front that is set to redirect all http traffic to https. Apache then communicates with the application (a JBoss AS 5.1) via http. I've tried a lot of configurations for BlazeDS, and finally the following solution worked for me:
services-config.xml
<services-config><services>
<service-include file-path="remoting-config.xml" />
<service-include file-path="messaging-config.xml" />
</services><channels>
[Code] .....
The thing here is that in my-secure-amf channel, I use mx.messaging.channels.SecureAMFChannel in the channel-definition, and flex.messaging.endpoints.AMFEndpoint (not flex.messaging.endpoints.SecureAMFEndpoint). This has probably something with the Apache-Jboss setup to do, but I haven't found anything that explains what the different tags actually define. To get some sense in all of this, what happens when defining channels and endpoint, using different urls and classes?
View 1 Replies
Sep 1, 2011
we're developing an application and we need for this and further projects a centralized logging. I know there is a build in log api in flex builder 4.5. And the loger has a log target. All i found is how to send these loginformations to the trace console.But i'm looking for sending the logfiles to my server.Maybe i can send messages to a webservice which fill a database in the backend. I dont'know if this is a recommanded way.How do you store your log informations centralized?
View 2 Replies
Dec 22, 2009
I know that httpService in Flex can configure the data as an object, but I want to do the same thing, but with URLLoader. Is that possible and how would I do it?
View 2 Replies
Jun 8, 2009
I'd like to set up my projects in Eclipse to run FlexUnit tests everytime I save my work.
I found an example with JUnit here : [URL]
How would you do it? Is it possible to run FlexUnit tests without Flash Player?
View 3 Replies
Sep 1, 2009
just started out using flex (man it rocks compared to cs4! wish i had switched earlier).I have two questions that i can't seem to find the answers to
1) how do i configure flex to publish to firefox rather than internet explorer?
2) is it possible to publish to the standalone flash player without bothering with a browser ...as you can do in the Flash IDE ?
View 1 Replies
Aug 11, 2010
I'm using flex 4.1 to write an application and I was wondering how can I configure that whenever I try to load an image and the link is broken it will show a different image that i have embedded into my application.
View 2 Replies
Aug 8, 2011
I have a set of users who run my application in non debug mode. Off late they have been reporting lot of issues. But I am not able to debug as there is no log file.Is it possuible in flex 3 to do logging in a file without running in debug version. I understand trace only works if we run application in debug version.
View 1 Replies
Feb 14, 2011
I have created a flex application in the Python Gae sdk and I got the error 2048, so I put a crossdomain.xml under the static folder.
The crossdomain.xml is following:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy> [code].....
However, I still got the error 2048. Therefore, I would like to know is anything I need to configure or miss in my case and how to fix the error.
View 2 Replies
Dec 3, 2009
I can't seem to get any logging in flashlog.txt. I've read through both articles:
[URL]
My home in XP is H:. So currently I have the flashlog.txt file here: H:Documents and Settings(username)Application DataMacromediaFlash PlayerLogs
mm.cfg is here: H:Documents and Settings(username)
mm.cfg contains:
TraceOutputFileEnable=1
ErrorReportingEnable=1
MaxWarnings=0
View 3 Replies
Apr 23, 2011
Using Flex 4, I have created an SWF that has the following code:
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
import com.Index ;
protected function start(event:FlexEvent):void
[Code]...
View 1 Replies
May 18, 2011
As far as I can tell, there are not changes in logging from 3 to 4 -- is this the case?I ask because we change the LOGDIR location, and while our test systems are okay for unknowns, our public systems need to be uniform (plan ahead).
View 2 Replies
Apr 15, 2010
I have one particular FLA that is crashing every time I try to compile (after switching to Snow Leopard). Flash just stalls and I am forced to use "Force Quit"... I have no idea what could be causing this and I cannot find any crash report. Where on the system does Flash put crash logs?
View 1 Replies
Nov 25, 2011
I know virtually nothing about Flash so I'm kind of casting about in the dark.
I have the misfortune of being a BT customer, and whilst I have reasonable bandwidth (can view streaming high res video fine) I always have problems listening to radio programmes from the BBC. I think it could be buffering due to traffic shaping, or it could be the Flash applet used to play the content, or something else.
Is it possible to bring up some kind of debugging console, or view some kind of error log to see if there is some diagnostic information that could be useful in finding the problem?
View 1 Replies
Aug 28, 2009
Is it possible to log any and all errors in Flash? The debug player definitely has access to the information when a bug is encounted, is there a way to get that info and send it off in the background?
View 7 Replies
Aug 21, 2008
Is there a way to retrieve the debug information for all unhandled errors and perhaps output that error to a web script (php etc)? I was looking for a listener which could listen for any error which is thrown. Otherwise how would you ever know what errors happen in the public? People need to be running the debug flash player to see errors. So assume there would be a way to record them also.
View 1 Replies
Apr 1, 2010
I want to develop a logging system for my application. This system is intended to log warning,messages(like traces) and errors in a log file in the server with time stamp and user information.I am familliar with flash tracer but that is temporary. Sometime to debug real time user's reports I need this system.
View 1 Replies
Apr 1, 2010
I want to develop a logging system for my application. This system is intended to log warning,messages(like traces) and errors in a log file in the server with time stamp and user information.
I am familliar with flash tracer but that is temporary. Sometime to debug real time user's reports I need this system. Some of the files in the application are in AS1 and the rest in AS2.
View 3 Replies
Mar 18, 2011
Is it possible to set up FMS to log uniqe visitors in FMS access log file? I am aware of unique IP and session ID (c-client-id) logging, but these do not represent actual number of viewers. So I was hoping to get something like unique browser ID (a cookie?) which I guess is the closest I can get to the actual number of unique visitors.
If anyone has other ideas, how to log unique visitors or a variable close to unique visitors, If browser cookie is the way to go, can someone tell me how to "forward" this to FMS log file? Also, what software would you recommend for FMS log analysis? Im currently using Sawmill, but Im not completely satisfied, because I cannot see how many people have watched the webstream for how many minutes, therefore the reporting is inaccurate.
View 4 Replies
Oct 18, 2011
I recently setup Flash Media Server on Amazon EC2 and things are going well so far; however the admin console wont login. I've set the username, password, and port in the config file and opened that port, among others, in the security group. I've then restarted both FMS and admin server multiple times.
When I try to login I get no errors. Nothing happens at all. When I open FireBug and/or Fiddler2 to watch the communication, I'm not seeing a single thing happen. Clicking "Login" submits no requests at all. Do I just not understand how FMS works? I would assume some sort of request would need to be made.
View 1 Replies