|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Log4Jfugue converts your application log messages into
music. The conversion is controlled
by modifying the spring-log4jfugue.xml file. The messageReceiver bean defines a set
of properties where the key is the name of an instrument and the value is a
string to search for in the incoming stream of log messages. When a matching message is found the
count for the associated instrument is incremented and the next measure of
music includes that note.
Instruments can be either chromatic or achromatic.
Log messages can be processed in real-time by defining the standard Log4j
SocketAppender in the program to be monitored, or old log files can be
re-played.
See:
Description
Class Summary | |
---|---|
FileDataGetter | Gets data to process from an existing file. |
InstrumentVoice | Represents an instrument, which voice to play it in, and which log message causes the instrument to be played |
Log4jAppenderDataGetter | Thinking about how to do this. |
MessageReceiver | Listens for log messages to process. |
Music | This is the central repository of knowledge about the system. |
MyMusicApp | The main application of the system, ie a sample client application, TODO: finish the suite of JUnit tests, add a simple application to play the file created by the PretendPlayer, create a data flow diagram for the package, make the File DataGetter be able to replay at different speeds, make sure that the pretend player works with the Rhythm player. |
PretendPlayer | This class doesn't actually send the music strings to JFugue, it writes them to a file for later playback. |
RhythmSoundBuilder | Derived from the SoundBuilder class, this class builds and plays a rhythm based sound. |
SimpleDataGetter | The base class for all of the ways to get data into the system. |
SocketDataGetter | This data getter spins a thread that does socket accept and then spins another thread (L4JFSocketNode) to do the actual socket reading. |
SoundBuilder | One of the two primary threads of the system, this class builds and plays the actual music strings. |
Log4Jfugue converts your application log messages into
music. The conversion is controlled
by modifying the spring-log4jfugue.xml file. The messageReceiver bean defines a set
of properties where the key is the name of an instrument and the value is a
string to search for in the incoming stream of log messages. When a matching message is found the
count for the associated instrument is incremented and the next measure of
music includes that note.
Instruments can be either chromatic or achromatic.
Log messages can be processed in real-time by defining the standard Log4j
SocketAppender in the program to be monitored, or old log files can be
re-played.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |