Wowza Community

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

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);

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

Richard

thanks for the answer matt_y,

unfortunately i haven’t know about java.

there are not any different way??

thanks in advance