{"repo":"jhannes/logevents","free":true,"listed":false,"github":"https://github.com/jhannes/logevents","clone":"git clone https://github.com/jhannes/logevents.git","description":"An easy-to-extend implementation of SLF4J with batteries included and sensible defaults","language":"Java","stars":45,"topics":["slf4j","logging","java","library"],"license":null,"category":"analytics","readme_excerpt":"Logevents - a simple SLF4J implementation Setting up and configuring logging should be easy , whether you want to do it with configuration files or in code. Log Events is a small (265kb, no dependencies ) logging framework built on top of SLF4J - the logging lingua franka for Java. For detailed instructions, see the manual. Quick start Add dependencies (for Maven) Simple configuration By default, the file observer will log to a file named logs/your-app-name-%date.log and console logs ANSI-colored logs to the console. The default level for loggers with this configuration will be WARN , by org.example will log at INFO and org.example.myapp will log at DEBUG , or trace for HTTP REQUEST when the user is admin . See LogEventFilter for details. Use level NONE to turn off logging. Logevents will output configuration information to system err. Configuration in a Twelve-Factor setting Here is an example setup in a cloud environment. Logevents can be configured with environment variables and use stdout as the main channel for logging, outputting JSON logs for more powerful downstream parsing Features: Console logging with good default colors (also on Windows). Use observer.console.format=ConsoleJsonLogEventFormatter to output single-line JSON logs, suitable for log parsing File logging with reasonable defaults JUnit support to easy assert on what is logged Email logging, including throttling to reduce spamming when get lots of log messages Slack to send log messages to you favorite cha","default_branch":null,"files":null,"tree":[],"storefront":"/r/jhannes","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jhannes/logevents/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}