Simple logfile viewer as spring boot actuator endpoint
##Features
- allow quick access to spring-boot web application logfiles
- uses actuator framework to provide management endpoint
- list log folder content
- view individual logfiles
- view content of log archives (*.zip, *.tar.gz)
- browse subdirectories
- search in (non-compressed) files in logging root folder
- tail without reading entire file
##Howto use
- include library on classpath of spring-boot app
- configure
logging.path,logging.fileorendpoints.logview.pathin spring environmentlogging.filespecifies a custom log file. Logviewer will use it's parent directory.logging.pathspecifies a log directory and log filenamespring.log.endpoints.logview.pathspecifies a directory containing log files in case you use other custom log configurations.
- endpoint will be available under /log
- to replace default stylesheet links, set property
endpoints.logview.stylesheetsin yml to list of urls
###Gradle
compile 'eu.hinsch:spring-boot-actuator-logview:0.2.12'###Maven
<dependency>
<groupId>eu.hinsch</groupId>
<artifactId>spring-boot-actuator-logview</artifactId>
<version>0.2.12</version>
</dependency>Note
- lib depends on spring-boot-starter-freemarker, so it may currently not work with another templating engine for the main app
