Results 1 to 3 of 3

Thread: Logging Client pageUrl

  1. #1
    Join Date
    Apr 2010
    Posts
    27

    Default Logging Client pageUrl

    I can't seem to figure out how to get the pageUrl reported by JMX Client attributes into the log. What field name should that be in the log file? I'd like to be able to parse it using Sawmill.
    Last edited by Sylistron; 02-21-2012 at 10:50 AM.

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    There is not a field in Wowza for this. Assuming you are talking about the html container of a Flash RTMP client, you can log the value in a message like this:

    String pageUrl = client.getProperties().getPropertyStr("connectpageUrl").toLowerCase();
    getLogger().info(pageUrl);
    The way to create custom log fields is with ILogNotify. There is an example in the ServerSide API

    Richard

  3. #3
    Join Date
    Apr 2010
    Posts
    27

    Default

    Thanks Richard!

Similar Threads

  1. c-ip and c-client-d don't show up in logging
    By lonneke in forum Server-side Modules and Code Samples Discussion
    Replies: 8
    Last Post: 01-27-2012, 10:19 AM

Posting Permissions

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