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

https://github.com/obsproject/loganalyzer

Automatic analyzer for logs generated by OBS Studio
https://github.com/obsproject/loganalyzer

Last synced: about 1 year ago
JSON representation

Automatic analyzer for logs generated by OBS Studio

Awesome Lists containing this project

README

          

# loganalyzer
Automatic analyzer for logs generated by OBS Studio

## Installation

### Basic Requirements

* (loganalyzer.py) >= Python 3
* (simplehttp.py) >= Python3.8

### Dependencies

```bash
pip install -r requirements.txt
```

`pycodestyle` is used for code formatting.

## Usage

### Web Server

```bash
$ ./simplehttp.py
```

Command line arguments can be accessed via `-h`.

Once launched, the server is available at http://localhost:8080

Responses can be returned in JSON format:

```plain
GET http://localhost:8080/?format=json&url=
```

### Terminal

Run `loganalyzer.py` in your favourite terminal.

```bash
$ ./loganalyzer.py -h
usage: loganalyzer.py [-h] --url URL

optional arguments:
-h, --help show this help message and exit
--url URL, -u URL url of gist
```

The log specified by `URL` will be automatically analyzed. Output looks like:

```plain
Critical: AUTOCONFIG WIZARD, INSUFFICIENT HARDWARE, MP4 RECORDING, RENDERING LAG, CPU OVERLOAD,
Warning:
Info: NOT ADMIN, LOW STREAM BANDWIDTH, NO SCENES/SOURCES,
--------------------------------------

Details

Critical:
AUTOCONFIG WIZARD
The log contains an Auto-config wizard run. Results of this analysis are
....

Warning:
....

Info:
NOT ADMIN
OBS is not running as administrator. This can lead to obs not being able to
....
```