pivotal-Josh-Gainey / LoggerApp

Simple app to initiate log messages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LoggerApp

Simple app to initiate log messages

Usage:

The endpoint is /log

Custom attributes that can be passed in:

type = The type of log message to do (info, warning, error --- default is info)
count = The number of messages to log (default is 100)
message = The message to log appended by the iteration number (default is "logger_app_message iteration number: ")

Example endpoints:

/log
/log?count=10000000
/log?count=1400&message=hello+warning+world&type=warning
/log?count=1000&type=error

There is also an endpoint that will allow to consistently log:

/blaston

This endpoint can accept sleeptime param to indicate how many milliseconds to sleep between each log:

/blaston?sleeptime=200

Once blaston has been called - to stop it:

/blastoff

About

Simple app to initiate log messages

License:MIT License


Languages

Language:Java 97.7%Language:HTML 2.3%