Results 1 to 4 of 4

Thread: log4j wowza 3.6

  1. #1
    Join Date
    May 2013
    Posts
    10

    Default log4j wowza 3.6

    Hi everybody and thanks in advance,

    I'm trying to collect all wowza logs for any vhosts and then send to a single file or stdout and read it
    We have four servers to distribute the load, so, we collect these logs in the four servers.
    There is any way (log4j.properties) to include inside these logs the physical hostname??

    Thanks in advance

  2. #2
    Join Date
    May 2013
    Posts
    680

    Default

    You can utilize our ILogNotify interface and handle the onLog event to add more information to the given log messages (grab the hostname and add it this way).

    @Override
    public void onLog(Level level, String comment, IMediaStream stream,
    			String category, String event, int status, String context);

  3. #3
    Join Date
    May 2013
    Posts
    10

    Default

    thanks for the answer matt_y,

    unfortunately i haven't know about java.
    there are not any different way??

    thanks in advance

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

    Default

    You could open each log file in Excel, add a column to identify the server in each file, then combine them.

    Richard

Similar Threads

  1. time taken to serve the request log4j.properties wowza
    By jormarcha in forum General Forum
    Replies: 0
    Last Post: 10-11-2013, 04:06 AM
  2. log connectionArgs with log4j
    By telephant in forum General Forum
    Replies: 1
    Last Post: 07-04-2012, 08:48 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
  •