Giter Site home page Giter Site logo

hcgoranson / logboot Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 2.0 271 KB

IntelliJ plugin to view and update log level from a Spring Boot application

License: MIT License

Java 100.00%
spring springboot logging actuator actuator-spring-boot intellij-plugin intellij java gradle spring-boot

logboot's Introduction

๐Ÿ“ƒ LogBoot

This is an IntelliJ plugin to view and change loglevel on a Spring Boot application - without the need to restart or reload the log configruation.

The plugin utilizes the Spring Boot actuator log API. All you need to do is to enter the hostname and port of your Spring Boot application, and you are ready to go!

logboot_presentation.mov

plugin

Usage

  • Install the LogBoot plugin from the Jetbrains marketplace, search on LogBoot.

    (Another option is to build the plugin from the source files and install it manually)

  • Once installed, a new tool tab will appear named LogBoot

  • Make sure you have a Spring Boot application running which exposes the actuator log endpoint, e.g locahost:8080/actuator/loggers

  • Open the plugin and enter hostname plus port, e.g localhost:8080 and hit return

  • If all went well, a list of loggers are now displayed

  • Double click on a logger to open the update dialogue. Enter the desired new log level and press on the OK button plugin

Features

  • Fetch current loggers and log level
  • Search for a specific logger
  • Update log level for a logger

Build & Package

Make sure Java 17+ and Gradle is installed

๐Ÿ”จBuild

Clone this repo to your desktop and run ./gradlew build to build the project

๐Ÿ•น Run

Run IntelliJ in dev mode with ./gradlew runIde

๐Ÿ“ฆ Package

Package a zip file with ./gradlew assemble
Zip file can be found in build/libs

logboot's People

Contributors

hcgoranson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.