<commit_before># Logster

A web log viewer and logging framework for Rack applications

![logster logo](https://raw.githubusercontent.com/discourse/logster/master/assets/images/logster-logo.png)

## [Live Demo](http://logster.info/logs)

![logster](http://i.imgur.com/cvfcQpv.png)

## Installation

Add these lines to your application's Gemfile:

    gem 'redis'
    gem 'logster'

And then execute:

    $ bundle

Make logster web available add the following to your `routes.rb`:

```
constraints lambda { |req| req.session["admin"] } do
  mount Logster::Web => "/logs"
end
```

By default, logster will only run in development and production environments.

To run logster in other environments, in `config/application.rb`
<commit_msg>add more up to date screenshot<commit_after>![logster logo](https://raw.githubusercontent.com/discourse/logster/master/assets/images/logster-logo.png)

Logster is a web log viewer and logging framework for Rack applications

## [Live Demo](http://logster.info/logs)

![Screenshot](https://raw.githubusercontent.com/discourse/logster/master/assets/images/logster-screenshot.png)

## Installation

Add these lines to your application's Gemfile:

    gem 'redis'
    gem 'logster'

And then execute:

    $ bundle

Make logster web available add the following to your `routes.rb`:

```
constraints lambda { |req| req.session["admin"] } do
  mount Logster::Web => "/logs"
end
```

By default, logster will only run in development and production environments.

To run logster in other environments, in `config/application.rb`

{'fraction_non_alphanumeric': 0.11624919717405266, 'fraction_numerical': 0.0, 'mean_word_length': 4.584229390681004, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7160964', 'n_tokens_mistral': 487, 'n_tokens_neox': 472, 'n_words': 147}