How to use Logging?

I am trying to get QoS and other information from OSMFPlayer. I have logging set to true in the project properties.
I import org.osmf.logging.*, and add the code...
CONFIG::LOGGING { logger.fatal("LOG THIS INFO"); }
CONFIG::LOGGING { private static const logger:org.osmf.logging.Logger = org.osmf.logging.Log.getLogger("OSMFPlayer"); }
(I am using logger.fatal because I assumed it would be the best to get only the information i want.)
It appears that thsi is all I need to create a log, however, I cannot find a log anywhere. Is this all that is needed to create a log. And where should the log appear? The documentation is pretty sparse on this topic.
My setup is a Linux server with my media and OSMFPlayer streaming to a Windows client using Firefox.
Thanks,
Dan

Dan,
1) There is no document on VideoQoSPlugin as far as I know.  The brief steps of how to use it is
1. Add QoS variables to the Plugin as you want to see.
1.1 Add QoS metadata to VideoQoSPluginMetadata.as as public var.
   eg) public static const VIDEOBUFFERLENGTH:String = "videoBufferLength";
1.2 Add value to your metadata in VideoOsOProxyElement.as,
      Note that onTimer function has NetStreamInfo "qos".
    eg)       metadata.addValue
                    ( VideoQoSPluginMetadata.VIDEOBUFFERLENGTH
                    , qos.videoBufferLength.toString()
2. Load the Plugin into your player : See other plugin samples.
      mediaFactory.loadPlugin(pluginResource);
3.  Get the QoS data in your player .(eg) org.osmf.qos.VideoQoSPluginMetadata.CURRENT_FPS
     It is up to you how to use / display QoS data.
2) As you said StrobeMediaPlayback has already built for many QoS parameters so I might be just easier to use that.  I saw your post to SMP so you are on the right track as Andrian is the person you want to talk regards to SMP.
3) Air APP is an application platform as oppposed to an web application such as a HTML based app.  You can download it from here.
http://get.adobe.com/air/  and install the debug console or run it from your flex builder.   The readme file has an instructions to the debug console.
Basically, you launch the debug console first, then run OSMF player and play a video.  (Turn on the Logging option on : -define CONFIG::DEBUG true -define CONFIG::FLASH_10_1 true),    The debug message will be displayed on the debug console as the video plays.
Ryan

Similar Messages

  • OWSM: How to use log step

    Hi,
    I want to make use of the LOG step in the policy to write whatever happened in the request and response pipelines. but inclusion of the log step makes no difference. i want to know whether this is possible or not.
    If anyone has some tutorials for how to use log step pl send me.
    Thanks in advance.
    Regards,
    Abhi...

    Hi!
    If i just make a little example and add the logstep before and after for example a xmlencrypt-policy-step, and log the whole payload..everything works fine overhere.
    If i go to the Operational Management>Overall Statistics>Message Logs and can see every step inwhich it got called (the log policy step)

  • How to use log console

    how to use log console?

    kilty66 wrote:
    disk1s3: media is not present.
    Video capture fps 13.056067 , requested 15
    (com.conduit.loader.Agent[866]) Exited with code: 1
    The first means something is missing, most likely on an external HD.
    If the other two were sent at the same time, they're probably all related to a video capture problem.
    Many of the messages you'll see in your logs don't indicate a real problem -- they'll be status messages, info for developers, etc., so don't try to figure out every message you see.
    If you see the same message repeated over and over (as the MacKeeper ones probably did), that's clearly a problem, of course.
    If you're having specific problems, but not getting messages on your screen, check for log messages that seem related (ie, sent at the same time, and/or from a process you recognize as being related).  See the blue box in OSX Log Files for help deciphering the messages.  If you're not sure about what a particular process does, many of the names of Apple processes are listed here: http://triviaware.com/macprocess/all with a brief explanation.
    For other processes, or other references, Google will often turn up some info.
    If none of that helps, post a new thread for each such problem, with as much detail as you can about what you were doing and what kind of difficulty you were having, and, of course, the message(s) that seem related.
    Try to post them in the appropriate forum; if you're having a problem with a specific Apple app, there may be a forum for that app, where folks who know it well hang out.  

  • How to use logging in the actions classes extends standart actions?

    Hello!
    I have some action classes extends standart actions, for example Z_ExtMaintainBasketDispatcherAction extends MaintainBasketDispatcherAction. I tried to use logging functionality in my classes but there were no my lines in log and trace files.
    For example I added followed lines in basketPerform() method of Z_ExtMaintainBasketDispatcherAction:
    boolean isDebugEnabled = log.isDebugEnabled();
    if(isDebugEnabled){
    log.debug("++++++++++++++++ Test tracing in B2B_SNG. ++++++++++++++++");
    but in there was no such line neither in log file nor in trace file.
    How I can use logging functionality in my own classes? I need it for tracing and logging.
    CRM 5.0
    regards, Lev

    Well, here is solution. I created a log formatter and log destination like this:
    <log-formatters>
    <log-formatter name="application_sap.com/crm~b2b" type="TraceFormatter" pattern="%d,%-3p %t %s %l %m"/>
    </log-formatters>
    <log-destinations>
    <log-destination name="application_sap.com_crm.b2b" type="FileLog"
        count="10" effective-severity="ALL" limit="10000000" pattern=".\log\applications\isa_ru.log">
    <formatter-ref name="application_sap.com/crm~b2b"/>
    </log-destination>
    </log-destinations>
    and new log controller like this:
    <log-controller effective-severity="ALL" name="ru.sng.isa">
    <associated-destinations>
    <destination-ref name="application_sap.com_crm.b2b" association-type="LOG"/>
    </associated-destinations>
    </log-controller>
    in file META-INF\log-configuration.xml
    Thanks everybody for help!
    Regards, Lev.

  • How to use logged in user in the portlet

    Hi,
    From the portal application I have to get the logged in user and use the same user to filter the records in Portlet. I have to execute a view Criteria in portlet as a default method activity which takes logged in user as a input param.
    Is this achievable? Please let me know.
    Thanks in Advance
    Morgan.
    Its a duplicate of How to set userName from security context to Criteria in portlet
    Edited by: Morgan Freeman on Aug 24, 2011 1:24 AM

    It's possible. It's somewhat large to explain so i will write an example portlet. I will post the link to the application when it's finished.
    You just need to request the username from within your portlet. WebCenter passes the username to your portlet on the PortletRequest.
    From your business component you should write a query with a bind variable that you expose to your client. In your JSPX (portlet) you execute the method that sets the bind variable and create an InvokeAction in the executables so it gets executed upon load.
    That's the short description :)
    I'll give some more info when i finish the app.

  • How to use Log function

    for(i=0;i<scaleX;i++)
                   for(j=0;j<scaleY;j++)
                        zb[i][j]=(double)R_matrix[i][j];
                        zb[i][j]=log(zb[i][j]); // error in this line
                        R_matrix[i][j]=(int)zb[i][j];
    Error message:
    C:\Users\Ajay\Desktop\Ajay Kumar\Temp\Temp2\Temp3\Log of image\cca_SplitImage.java:197: cannot find symbol
    symbol : method log(double)
    location: class JpgImage
    zb[i][j]=log(zb[i][j]);
    ^
    1 error
    7 warnings
    Process completed.
    Edited by: vijaymandavav on Sep 17, 2008 11:40 PM

    Hi, when you get an answer to this I'd be interested to hear it too.
    I found this:
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Math.html#log(double)
    I'm completely new to Java, but I think to use the log function you need to write: Math.log( ) and the output number has to be a double rather than just an integer or long . The inputValue might also need to be a double, not sure though as int works fine in my program.
    Also the log function is in the natural base rather than 10. If you wanted to take log to base 10 of, for example, 100, which should give you an answer of 2; you need to do ln (which is the natural log) of 100 divided by ln of the base you want, in this case 10:
    log10 (100) = 2
    ln(100) / ln (10) = 2
    so in code:
    int logBase = 10;
    int inputValue = 100;
    double outputValue = 0;
    outputValue = Math.log(inputValue) / Math.log(logBase);
    System.out.println("Output value should = " + outputValue);Let me know if that helps.

  • How to use log in to Oracle 8i personal edition SQL Plus?

    Hi, this is my first time using Oracle 8i personal edition. But after installation, I was told to enter
    User Name, password and host string in order to use SQL Plus
    But I have no idea what to enter for the above three
    By the way, I was prompted with the following message after installation,
    Global Database Name: Oracle
    SID : Oracle
    Password : ******
    database name : People
    system identifier : People
    system account : manager

    hi to connect to SQL plus write the following:
    user name: scott
    password : tiger
    host string : leave it empty if it requires again then write orcl
    bye

  • Java mapping how to use com.sap.tc.logging

    Hi I would like to know how to use logging within a java mapping.
    I know i have to use theese classes : Location, Category, ConsoleLog but i dont know how.
    1) How to load the P1, P2, P3 and P4 tags in the Error tag of the SOAP header watched in SXMB_MONI
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">STREAM_TRANSFORMATION_EX</SAP:Code>
      <SAP:P1>SwissMedical/Interfaces/IFI002/LiquidacionMapping~</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Java mapping of application triggered an exception</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    2) How to load and activate log in the DIAGNOSTIC tag of the SOAP Header.
    - <SAP:Diagnostic xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:TraceLevel>Information</SAP:TraceLevel>
      <SAP:Logging>Off</SAP:Logging>
      </SAP:Diagnostic>
    Thanks!!

    As already suggested, you can display custom messages using AbstractTrace.
    trace = (AbstractTrace)param.get( StreamTransformationConstants.MAPPING_TRACE );
                        trace.addInfo("G1-CYCLE is missing");
    For more on coding front refer:
    http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/api/StreamTransformation.html
    To get this trace seen in MONI, set parameter TRACE_LEVEL in SXMB_ADM to 2.

  • How to log the exception using Log action in Oracle Service Bus

    Hi,
    Whenever an exception is raised how to log the exception using Log action in oracle service bus.After logging where I have to find the logged message.

    It would be in the log file for the managed server which ran the request. If you are logging the message at a lower level than your app server, however, you won't see it. You should be logging the exception at Error level.

  • How to Use 'uid' for AD Users Without Domain Name For User Log in OAM

    How to Use 'uid' for synchronized Active Directory (AD) Users into Oracle Internet Directory (OID) Without Domain Name For User Logins in OIDDAS and OAM
    We successfully integrated OAM 11g with EBS R12.1.3 Now all the AD user id's stored in fnd_users table as [email protected]
    How can we remove @abc.com
    We are using OID 11g and OAM 11g
    Found the similar note for OID 10G: How to Use 'uid' for AD Users Without Domain Name For User Logins in OIDDAS and SSO [ID 580480.1]
    We are in OID 11g.
    Any help on this greatly appreciated.

    I couldn't find any reference that could be helpful -- Please log a SR and see if this is supported and if the steps are available.
    Thanks,
    Hussein

  • HOW TO USE FUNCTION Deletion of Requests from the Change Log IN PRCSES CHAN

    Respected all
    i used Deletion of Requests from PSA from the prcess chain and found good results, now i have only one request at the psa and thus i am doing good space utililisation. but when i am using Deletion of Requests from the Change Log i am not getting any changes in the request of dso. kindly let me know how to use this 2nd function.
    thanks
    abhay

    Hi Mahodaya,
    As per SAp standards its good to delete the requestes that are no longer needed for the delta update and no longer used ffor inti from the change log table and the data is loaded already in to DSO.
    Goto RSPC
    Click on create New PC -> enter the PC name n long descp
    Next we need to define the start process for the PC.Maintain the start variant process.save n come back.
    for deletion of change log we have option in the Other BW Processes -> deletion of requestes from change log
    Once u select the option we get a dialoge box here we need to create the variant for the process enter the process variant n long descp. cick ok.
    Next in the maintenance screen for the deleting the request from change log table will appear.
    Enter the selection patterns to which the requestes should be deleted from the change log.
    In the maintenance screen, select one or more Data Store objects for which requests are to be deleted from the relevant change log tables under Data Store Object column and select theInfo Area of the corresponding Data Store Objects under Info Area
    If you select the first check box exclude selction pattern, this means that del of requests from change log table will be ignored.
    or
    We can delete the requests which are Older than N-number of days (or) date in the above screen. For this one, enter the number of days (or) date in the filed Older than .
    OR
    If we want to select the requests with a certain status then we can also do in the above screen. We can select the following status indicators from the above screen.
    Delete Successfully Updated Requests Only -This status will delete only requests which
    are successfully updated into corresponding Data Store objects.
    Delete Incorrect Requests that were not Updated - This status will delete only incorrect requests which are not successfully updated into the corresponding Data Store Objects.
    Delete Activation Requests only, No Load requests- This status will delete only the activation requests (requests that begin with ODSR_... ). No load requests are deleted.

  • How to use the change log in ODS to track Delta change?

    People say that historical data (like Delta change) in ODS can be tracked in the Change Log.  How to use the change log to track historic data?
    Thanks

    Kevin
    See if it helps
    Every ODS object is represented on the database by three transparent tables:
    Active data: A table containing the active data (A table)
    Activation queue: For saving ODS data records that are to be updated but that have not yet been activated. The data is deleted after the records have been activated.
    <b>Change log: Contains the change history for delta updating from the ODS Object into other data targets, such as ODS Objects or InfoCubes for example.</b>
    An exception is the transactional ODS object, which is only made up of the active data table.
    The tables containing active data are constructed according to the ODS object definition, meaning that key fields and data fields are specified when the ODS object is defined. Activation queue and change log are the same in the table’s structure. They have the request ID, package ID and the record number as a key.
    Data base structure changes
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/d53ec3efdc9b47a9502c3a4565320c/frameset.htm
    Hope this helps
    Thnaks
    Sat

  • I just got a new ipod and i dont know how to use it. it keeps asking me for wifi connection or to log on to itunes. i logged on to itunes but its still not working please help

    please help me use my ipod touch. i just got it and im a little confused on how to use it. it keeps asking for a wifi connection even while im logged in on itunes

    iPod touch User Guide (For iOS 5.1 Software)
    Are you connected to wi-fi?
    If not, then connect.

  • How to use old archieve logs with a new control file

    Environment:
    ORACLE_BASE="/export/home/oracle"
    ORACLE_HOME="/export/home/oracle/product/8.1.6"
    NLS_LANG=".UTF8"
    2 partitions:
    i) /data1 -- contains important datafiles (OS striping on 3 hard
    disks)
    ii) /export/home -- contains the oracle program, and SYS/SYSTEM
    datafiles
    Problem:
    -/data1 cannot be read/mount (damaged)
    -oracle failed
    Action Performed:
    -reinstalled OS
    -mount /export/home successfully (all oracle system files,
    instance init files exist)
    -/data1 is an empty partition
    -created the oracle user, and its groups
    -chown recusively for the $ORACLE_BASE directory
    -set all the oracle environment variables
    -attempted to start the instance, but failed due to a control
    file was
    missing
    -since control files were set to be mirrored, i copied a control
    file somewhere
    from /export/home/oracle/oradata/<SID>/control1.ctl to
    /data1/oracle/oradata/<SID>/control2.ctl (i.e. have them back to
    their original locations)
    -the instance failed to start as well, since the datafile set in
    the control files couldn't be found
    -this forced me to re-create the control file... b4 i re-create
    a new control file, i backed up the old one
    -once the control file was created, the database can be started,
    but, to oracle, all achieve log information are lost (although
    the achieve log's physical files r still there)
    -i imported the important data from a dump file that was
    exported a week ago b4 the system failure
    -since we r using the new control file, the redo logs switch
    contains no achieve log information that the old control file
    has, so running "recover database" doesn't do anything
    Purpose:
    since the dump file is a week old, i'd like to get the data
    after my last export and b4 the system failure. the database was
    run in arhieve log mode, how can i recover those data with the
    new control file
    Question:
    -how can we create a new control file that can drive the old
    achieve logs?
    -can we convert the achieve log data (.dbf format) into text
    format?
    -can we still use the old control files to start the database?
    -what's a suggested solution if we'd like to re-construct the
    database up to the moment b4 the system failure in another
    server?
    thx

    user3930585 wrote:
    I am in an unenviable position, with an unsupported database.
    We are running Oracle 9i on Windows XP. We are upgrading soon to Oracle 11g on a newer platform, but need to get our development environment working first.
    We lost a system that was running our development database without having a database export. The C drive was placed into a new system as the D drive.
    I have loaded Oracle 9i on the C drive, but I have been unable to determine how to point it to the existing data files on the D drive. My search skills may be the limiting factor here...
    We cannot simply load the drive as C, since the hardware is different.
    What are the steps to point the new database software at the data files on the D drive? Or, how do I copy the old data files into the new Oracle Home and have them recognized properly?
    Are you stating that you don't know how to use COPY command?
    Can you recreate same directory structure on new C drive as exist on old C drive?
    Can you then drag & drop copies of the files?

  • Why use P2 technology - how do you log?

    Can anyone explain to me why they use P2 technology? When we shoot our DVCAM footage, we log in FCP on a Powerbook, we mark all the good takes, then digitize based on what we've already seen. We don't need to re-log everything in the edit suite, we just start cutting with known good footage. Scene numbers, take numbers are already entered, and we're ready to go.
    With P2, you record your footage, wait 8-10 minutes to copy the files to your laptop, then import the clips, with no markings; you don't know what the good takes are, you don't have any scene or take references, or useful in or out points. These all need to be added in FCP or P2 Log. You have to review all of the footage you've shot again, decide if the take is good or not (which can be fun if you've had 7 or 8 takes and it turns out take 5 was the 'good' one). This strikes me as an incredible waste of time, something we don't have the luxury of with ever shrinking budgets. I expect you have to keep some kind of paper log, (welcome to the 1980's) with an unpredictable file naming system, so that you know what you have when you're ready to post.
    So is this really a good solution? Yes, you don't have to digitize. But you do have to log everything, which is very simple as you shoot in FCP, but you can't merge the P2 footage with a log kept in P2 Log or in FCP. Which brings me to my question: Can you create a log for P2 footage as you shoot, that can be brought into FCP without having to review the footage again or do a lot of post production typing?
    To me, this is the Achilles heel of P2 production. Anyone have any thoughts? We don't shoot a frame without a scene number and tape number, we shoot 50 good shots a day from about 150 takes per day, and at about 60 days a year, we need to keep track of what we shoot as we go. I estimate at least a 1/2 day of logging for every day of shooting with the P2, and frankly, I don't have 30 working days in my year to create logs that I can easily make while we shoot.
    P2, on the surface, looks great. But P2 and any direct to disk technology, to me, looks like a big step backwards in terms of workflow.
    Fire away, folks.
    MacBook Pro   Mac OS X (10.4.8)   Non-linear since 1994

    As the editor of the productions I work on, I am never on set. And I and the producer prefer it that way. This way I come in with an objective point of view, does the shot work or not. I am not clouded by how much time and effort went into getting the shot, I just look at it afterwards and judge it by its value. So we never log on the set. We simply back up.
    When we shoot our DVCAM footage, we log in FCP on a Powerbook, we mark all the good takes, then digitize based on what we've already seen. We don't need to re-log everything in the edit suite, we just start cutting with known good footage. Scene numbers, take numbers are already entered, and we're ready to go.
    You do all this work on the set. We don't, we do it in post, so there isn't twice the amount of work...it is just done later. This is true of every production I have worked on...documentary, narrative TV, short film. We aren't in the field logging and capturing...that is done later. But it is still done. We also slate our footage, and if someone is on the set to do so, they act as Script Supervisor and mark the good and bad takes. So when I look at the footage in the P2 import window on FCP 5.1.2, I can take the good but not the bad. But...I am always in favor of getting everything, because even though a take might be bad, it might contain something good that I can use.
    With P2, you record your footage, wait 8-10 minutes to copy the files to your laptop, then import the clips, with no markings; you don't know what the good takes are, you don't have any scene or take references, or useful in or out points. These all need to be added in FCP or P2 Log. You have to review all of the footage you've shot again,
    Again, we slate in the field. Yes, the clips come in with odd names, but when you capture a tape there is no INSTANT name associated with that. You have to give it a name...as you import. You can do the same with FCP and P2, as you import give it a name, scene, take...mark it good. And again, we aren't reviewing the footage AGAIN...it is done for the first time in post. They may review it in the field with the P2 viewer to ensure it looks good, just like on any film production with a DVCAM deck recording thru the camera viewfinder or rewinding the camera tapes.
    So is this really a good solution?
    Works rather well for me. No problems whatsoever...except when I first started doing this and put ALL the imported P2 clips into one bin. 2000 clips. I'll never make that mistake again. I separate footage by card much like I make Dailies bins with tapes.
    http://lfhd.blogspot.com/2007/01/organizing-my-p2-media.html
    But you do have to log everything, which is very simple as you shoot in FCP,
    You said that you log everything...in the field. I am logging everything in post. Still have to log. And, how do you "shoot in FCP?" That is a non-linear edit, not a camera. What do you mean by this? I guess I don't get how you are logging in the field without having to log. You are still taking the time to log and name the footage...so you lost me here.
    Can you create a log for P2 footage as you shoot, that can be brought into FCP without having to review the footage again or do a lot of post production typing?
    Not that I know of. Achilles heel? I suppose if you look at it from the point of view of your current workflow. But you have to realize that it ISN'T your typical tape workflow. Stop trying to make it work like a tape workflow. Square peg in circular hole. Same thing happened when people switched from Film to Tape...the workflows they were accustomed to didn't work...they had to devise new ones.
    You are going to have to figure out a new way of doing things...or just not shoot with the HVX. It is a very different way of doing things, but production can be pretty slick if you work out a system. I have a system and it works great. If you don't like it, don't use it. Grab an HDV camera and struggle with THAT format.
    P2, on the surface, looks great. But P2 and any direct to disk technology, to me, looks like a big step backwards in terms of workflow.
    Tell that to David Fincher's crew on ZODIAK. Not one tape or scrap of film in that production...all digital.
    If the tapeless workflow doesn't work for you...don't use it. Easy decision.
    Click on Underdog for my experiences with the format. Start from the beginning and see how I progressed if you'd like.
    Shane

Maybe you are looking for

  • CAn't connect to Internet Through Time Capsule-Self Assigned IP Adress

    My iBook battery died. After connecting to power source, I can't connect to the internet. I get a message that the iBook is self assigning the IP address. How do I correct this? I've removed the battery & done several restarts with no success.

  • How data  is replicated from SAP R/3 to SAP BW

    Hi,     I have to replicate datasource from SAP R/3 ECC 6.0 TO  SAP BW.   Please, help me in this regards Thks in advance - Mubeen.

  • Lightroom mobile cannot import from the imported from camera kit.

    Hi, I am new to Lightroom mobile and trying to make a new collection from the camera kit. 1.I have imported photos using my camera kit from an sd card. (file format is raw) 2.There are the imported photos on my ipad visible. 3.On Lightroom mobile, I

  • External Monitor for Canvas?

    I have an LED HD TV and would like to use it with Final Cut Express for my Canvas. What do I need to do this?

  • Default Camera Raw settings question

    For a long time, I did not understand why do photos in Bridge that were shot in RAW appear satureted for a second and then become dull...as I understand, the first thumbnail isn't made from actual Raw with no settings, but the second one is, so it's