All Projects → chentex → random-logger

chentex / random-logger

Licence: MIT license
Docker image for a random log generator.

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to random-logger

capybara-chromedriver-logger
Enables console.log/error/info output from Javascript feature specs running with Chromedriver
Stars: ✭ 54 (-48.08%)
Mutual labels:  logger
log
A simple to use log system, minimalist but with features for debugging and differentiation of messages
Stars: ✭ 21 (-79.81%)
Mutual labels:  logger
Meteor-logger-file
🔖 Meteor Logging: Store application log messages into file (FS)
Stars: ✭ 24 (-76.92%)
Mutual labels:  logger
sprout
Golang logging library supporting log retrieval.
Stars: ✭ 85 (-18.27%)
Mutual labels:  logger
lgr
Basic logger with some extras
Stars: ✭ 33 (-68.27%)
Mutual labels:  logger
glog-gokit
This packages is a replacement for glog in projects that use the go-kit logger.
Stars: ✭ 18 (-82.69%)
Mutual labels:  logger
LogSwift
Simple yet advanced swift logger
Stars: ✭ 19 (-81.73%)
Mutual labels:  logger
faraday-detailed logger
A detailed request and response logger for Faraday.
Stars: ✭ 56 (-46.15%)
Mutual labels:  logger
Laravel-FluentLogger
fluent logger for laravel (with Monolog handler for Fluentd)
Stars: ✭ 55 (-47.12%)
Mutual labels:  logger
ShipBookSDK-Android
A logging system for Android
Stars: ✭ 19 (-81.73%)
Mutual labels:  logger
NLog
Flexible logging for C# and Unity
Stars: ✭ 158 (+51.92%)
Mutual labels:  logger
herald
Log annotation for logging frameworks
Stars: ✭ 71 (-31.73%)
Mutual labels:  logger
perlin-toolkit
Animated perlin noise textures
Stars: ✭ 15 (-85.58%)
Mutual labels:  random-generation
logger
☠ 😈 👀 Simple,Secure & Undetected (6.11.2017) keylogger for Windows :)
Stars: ✭ 37 (-64.42%)
Mutual labels:  logger
neptune-client
📒 Experiment tracking tool and model registry
Stars: ✭ 348 (+234.62%)
Mutual labels:  logger
telegram-log
Send a Telegram message when your scripts fire an exception or when they finish their execution.
Stars: ✭ 16 (-84.62%)
Mutual labels:  logger
noodlog
🍜 Parametrized JSON logging library in Golang which lets you obfuscate sensitive data and marshal any kind of content.
Stars: ✭ 42 (-59.62%)
Mutual labels:  logger
l
Cross-platform html/io [L]ogger with simple API.
Stars: ✭ 26 (-75%)
Mutual labels:  logger
logger
Gin middleware/handler to logger url path using rs/zerolog
Stars: ✭ 119 (+14.42%)
Mutual labels:  logger
turbo-log
Fast log message inserting for quick debug.
Stars: ✭ 66 (-36.54%)
Mutual labels:  logger

random-logger

Docker image for a random log generator, based on Alpine Linux.

release Docker Image Version (latest by date)

What is this?

This image will execute a container which will generate four random log messages:

  • 2018-03-02T22:33:27-06:00 ERROR something happened in this execution.
  • 2018-03-02T22:33:27-06:00 INFO takes the value and converts it to string.
  • 2018-03-02T22:33:27-06:00 WARN variable not in use.
  • 2018-03-02T22:33:27-06:00 DEBUG first loop completed.

Why this Image?

I've had the necessity to create a random logger to test log configurations with containers, this helped me out to do it easily.

What is inside of this repo?

In this git repository you will find the docker image definitions for the random Logger for Alpine Linux

  • Dockerfile -> Contains image definition.
  • entrypoint.sh -> Shell code to generate log messages.

How do I use this image?

To use this image you must do as follows:

# you can use tags latest
docker pull chentex/random-logger:latest

# use different intervals to print logs every random(100, 400) milliseconds
docker run chentex/random-logger:latest 100 400

# use the third parameter so limit the number of loglines (after generating the lines the container will stop).
# if not set it runs infinite
docker run chentex/random-logger:latest 100 400 100

# to run the image just execute
docker run -d chentex/random-logger:latest

You will have now a docker container running and generating log messages, locate it running:

docker ps

You can see the logs using this command

docker logs <- container-id ->

How do I build this images?

First things first, you can find these docker images in chentex/random-logger but you can also build a specific version on your own, you only need:

  • docker
  • git

Clone this repo

git clone https://github.com/chentex/random-logger.git

Go to the folder in your terminal and type this:

# cd into folder
cd random-logger
# Then build the new image
docker build -f Dockerfile .

If you want to tag your image use the following command

docker build -f Dockerfile -t yourbase/yourname:version .

For more on docker build reference to the Documentation

You can get the source from the image in the Repository

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].