This project extends the Log4j 1.2.17 logging framework by introducing:
- A custom JSON layout for serializing log events.
- An in-memory appender with export functionality.
- Runtime monitoring via MBean (Java Management Extensions).
The project was developed in Java 8 using the Maven build system.
This assignment demonstrates the ability to:
- Extend a real-world software system (Log4j 1.2.17).
- Integrate and assess an existing open-source component (JSON library).
- Implement runtime monitoring using MBean.
- Apply modern software engineering practices such as testing, modular design, and dependency management.
- Language: Java 8
- Build Tool: Apache Maven
- Logging Framework: Log4j 1.2.17
- JSON Library: json.org
- Testing Framework: JUnit 5
- Monitoring: MBean (Java Management Extensions)
mvn exec:java -Dexec.mainClass="nz.ac.wgtn.swen301.assignment2.example.LogRunner"