Note : These modules tested with Java 21.
All jos modules should be archived with jpkg
format .
this archive is based on the same zip archive , with the different that has a additional file named manifest.yaml
inside that .
this file help JOS to get information's of module.
Please read maven-jpkg
document
compile module :
cd 01-basic # choose module
mvn clean compile package jpkg:archive
# jpkg should be generated :
ls ./target/jos-module/01-basic-0.1.jpkg
You must exclude any jar file contain this modules from your projects :
- jos.api
- org.slf4j
Open JOS web panel http://w.x.y.z:7080
and go to modules tab , click on +
button and choose jpkg
archive.
Click on log management button then config your log appender.
Note : currently jos support file
and syslog
appender.
Note : You can runtime change log level without restart module.
now click on +
to add new log appender base on your favorite configuration.
click on live stream button.
Usable for: