Skip to main content
Known Participant
January 27, 2010
Question

Reading Log Files

  • January 27, 2010
  • 3 replies
  • 4429 views

After yesterday's fiasco and authentication hole plugging, I have two questions.

First, in our Access log, i can see where our FMLE start and stop live publishing  (i see publish and unpublish in the logs).  Now, my logs might not be long enough...but whoever bounced their feed through our server...I don't see publish/unpublish entries in the log.   Do some encoders pump VOD through the flash server in such a way that they aren't marked as publish/unpublish?  What can I look for in the logs for these encoders?

Second, in my thread yesterday, I asked where I would see authentication granted/denied entries in the logs.  I don't know if it logs by default, and where... or if I have to add something to logger.xml.  Anyone know?

    This topic has been closed for replies.

    3 replies

    Participating Frequently
    February 2, 2010

    Hi,

          The events publish and unpublish should be enabled in logger.xml for the events to be logged in access.00.log when ever FMLE client publishes/unpublishes the stream. You can enable these events in tag Logger ->Access->Events for events to be logged in access log. By default these events are not enabled in logger.xml.

    Regarding your second query about authentication: The uses that fail authentication process from FMLE will log a connect event in access log with status code 403 indicating the connection was rejected due to authorization.

    For more clarification from logs you can enable c-user-agent and c-referrer fields in the logger.xml(Logger ->Access->Fields) for access logs.

    Thanks

          Viraj

    Known Participant
    February 2, 2010

    Ok, I'll scan for the 403 codes (I think I already turned on the features you suggested as I was trying to get as much info out of the thing as possible).

    Now... dumb question.  I know when the FMLE's connect, I see publish/unpublish messages. Can any other encoder engines that could talk to the FMIS run streams without generating these messages?  Can they get around the FMLE authenticator plugin?

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    February 3, 2010

    In FMS if you have enabled publish/unpublish events in log files, then it is logged for any clients who perform this operation with that FMS. It cannot discard the events for specific clients. FMLE Authentication addIn applies for FMLE. Other publishers can publish without authenticating it.

    I hope this helps.

    Regards,

    Janaki L

    Known Participant
    February 1, 2010

    adding to this... looking at my logger.xml, authEvents, authMessage, and fileMessage logs should all be generated, but none of these appear in the logs directory.  Also missing are the authEvents.rot, authMessage.rot, etc files.

    I'm uncertain where to look to see why none of these files are being created/triggerd by FMIS.

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    February 2, 2010

    Got the issue now... You dont have Authorization plug-in (c++), you have FMLE Authentication plug-in right? I was talking about Authorization plugin which generates authEvent and message log files.

    Regards,

    Janaki L

    Known Participant
    February 2, 2010

    Ok... where do I find the authentication plugin?


    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    January 29, 2010

    Same here, check whether you have enabled 'publish' and 'unpublish' events for access log using Logger.xml. Otherwise FMS logs all the events in access log that are enabled in Logger.xml.

    Regards,

    Janaki L

    Known Participant
    January 29, 2010

    I've found that while all other logs are appearing in the "logs" directory on my FMIS server... I have none of the authEvent logs.   the logger xml section looks ok... but there are no logs.

    I'm searching the entire system to see if they're going somewhere weird... but it really looks like they're just not being created.

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    February 1, 2010

    authEvent logs will be created only if you have authorization plugin installed in the FMS. Also check if you get authMessage log which

    will give you more details on loading the authorization plugin. If you have any problem with the auth plugin, authMessage log will have statements related to that.

    Regards,

    Janaki L