/gitbucket-application-logs-plugin

GitBucket log feature assistance plugin for Administrator.

Primary LanguageScalaApache License 2.0Apache-2.0

gitbucket-application-logs-plugin

build Codacy Badge Coverage Status

Precondition

Please enable logging using by Logback before use this plugin.

Features

GitBucket log feature assistance plugin for Administrator.

  • Display LogBack configuration
  • Reload LogBack configuration
  • GitBucket logs viewer
    • Selectable Sort type (ascending or descending from tail of the log)
    • Specify the number of display less than 10000
  • Download GitBucket log

Images

Download & Installation

  1. Download plugin jar file from the release page.
  2. Put plugin jar file into GITBUCKET_HOME/plugins and restart GitBucket.

UI Usage

Goto the System Administration menu, you can see Application Logs section.

Compatibility with GitBucket

Plugin version GitBucket version
3.0.0 4.35.0 -
2.0.0 4.32.0 - 4.34.0
1.0.0 4.25.0 - 4.31.x
0.2.0 4.25.0 - 4.27.0
0.1.0 4.25.0 - 4.27.0

Build from source

$ sbt assembly

The built package will be created at /target/scala-2.13/gitbucket-application-logs-{plugin-version}.jar

Test

Run test.

$ sbt test

Generate coverage report.

$ sbt coverageReport

or

$ sbt clean coverage test coverageReport

License

This project is under the Apache License, Version 2.0 License. See the LICENSE file for the full license text.