Results 1 to 8 of 8

Thread: Logging custom module to a different file

  1. #1
    Join Date
    Sep 2014
    Posts
    23

    Default Logging custom module to a different file

    Is there any way to log (getLogger) to a different file?
    Wowza logs every information inside access.log. I would like to log my custom module to a different file.

  2. #2

    Default

    Hello there.

    I believe this process is discussed and resolved in this thread here:
    Adding a custom log file and custom log fields.

    I hope this helps you out.

    Thank you, Salvadore

  3. #3
    Join Date
    Sep 2014
    Posts
    23

    Default

    Thanks salvadore.
    The only problem with that thread is the lack of documentation. I felt like Wowza support was just answering the user question not worrying with others. I feel bad for the lack of Wowza supporting.

  4. #4

    Default

    Hi,

    The previous thread outlined by Salvadore does show how to add custom fields and therefore your own file, if you look at the log4j.properties file outlined in the thread the custom fields can be added to any output file.

    Andrew.

  5. #5
    Join Date
    Sep 2014
    Posts
    23

    Default

    Thanks Andrew.
    Will that log ONLY one line? I mean I don't want all other INFO messages that Wowza outputs automatically.

  6. #6
    Join Date
    Sep 2014
    Posts
    23

    Default

    Just to be more clear:

    My custom module gathers a lot of values like streamName, ipAddress, etc.
    I have one getLogger().info("string here") in my whole code.

    Exactly this message should be written to a specific file and ONLY this line. Not all those lines reported by Wowza server.

  7. #7
    Join Date
    Sep 2014
    Posts
    23

    Default

    Any feedback?

  8. #8
    Join Date
    Sep 2011
    Posts
    1,933

    Default

    Hi,
    If you're having difficulties and require assistance with this custom logging, I recommend contacting a consultant.
    We have a list of independent consultants which is available on request, please send requests to support@wowza.com

    Alternatively you can post in the Find a consultant forum.

    Regards,
    Jason

Similar Threads

  1. Custom Logging
    By kenji24 in forum Tutorials
    Replies: 6
    Last Post: 03-28-2014, 07:09 AM
  2. Logging to a webservice via ILogNotify or a custom Module
    By seanngreen in forum General Forum
    Replies: 5
    Last Post: 02-12-2013, 05:45 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
  •