ListeningOnSocket - lluccia/otroslogviewer GitHub Wiki

Introduction

OtrosLogViewer can listen to the logs on the socket.

Details

OtrosLogViewer is able to receive log events on socket. Port and log format can be choosen. Many sockets with different log format can be opened, all events will be imported into one view.

To enable logs listening, you need to:

  1. Configure you application to send log events on socket (java.util.logging.SocketHandler or SocketHandler). Log events have to be formatted as plain text (not seriaized java objects)
  2. Select the Start socket listener option in the Tools menu in OtrosLogViewer ,
  3. Choose log format and port number,
  4. Start your application with the predefined log configuration.