An open API service indexing awesome lists of open source software.

https://github.com/simplesamlphp/simplesamlphp-module-logpeek

A SimpleSAMLphp module to provide a web API to access the log files.
https://github.com/simplesamlphp/simplesamlphp-module-logpeek

Last synced: 9 months ago
JSON representation

A SimpleSAMLphp module to provide a web API to access the log files.

Awesome Lists containing this project

README

          

# SimpleSAMLphp logpeek module

![Build Status](https://github.com/simplesamlphp/simplesamlphp-module-logpeek/actions/workflows/php.yml/badge.svg)
[![Coverage Status](https://codecov.io/gh/simplesamlphp/simplesamlphp-module-logpeek/branch/master/graph/badge.svg)](https://codecov.io/gh/simplesamlphp/simplesamlphp-module-logpeek)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/simplesamlphp/simplesamlphp-module-logpeek/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/simplesamlphp/simplesamlphp-module-logpeek/?branch=master)
[![Type Coverage](https://shepherd.dev/github/simplesamlphp/simplesamlphp-module-logpeek/coverage.svg)](https://shepherd.dev/github/simplesamlphp/simplesamlphp-module-logpeek)
[![Psalm Level](https://shepherd.dev/github/simplesamlphp/simplesamlphp-module-logpeek/level.svg)](https://shepherd.dev/github/simplesamlphp/simplesamlphp-module-logpeek)

This module provides a web API that you can use to search for all to lines in the logs corresponding to a specific
session identifier.

## Install

Install with composer

```bash
vendor/bin/composer require simplesamlphp/simplesamlphp-module-logpeek
```

## Configuration

Next thing you need to do is to enable the module:

in `config.php`, search for the `module.enable` key and set `logpeek` to true:

```php
'module.enable' => [ 'logpeek' => true, … ],
```