reagentx / logria Goto Github PK
View Code? Open in Web Editor NEWA powerful CLI tool that puts log aggregation at your fingertips.
License: GNU General Public License v3.0
A powerful CLI tool that puts log aggregation at your fingertips.
License: GNU General Public License v3.0
/
to start another regexAfter the first keystroke, all of the previously entered text will appear with the new character at the end.
Example to reproduce:
"""
Simple script to generate test logs
"""
import random
import time
import logging
def first():
RANDINT = random.randint(1, 100)
if RANDINT % 3 == 0:
logging.warning('I am a first log! %s\x00', RANDINT)
def second():
RANDINT = random.randint(1, 100)
if RANDINT % 5 == 0:
logging.error('I am a second log! %s\x00', RANDINT)
def third():
RANDINT = random.randint(1, 100)
if RANDINT % 7 == 0:
logging.info('I am a third log! %s\x00', RANDINT)
logging.info('\x00I am the first log in the list! %s\x00', 0)
while True:
first()
second()
third()
RANDINT = random.randint(1, 100)
print(f'I am standard output, {RANDINT}')
time.sleep(0.001)
Since these commands remove data from the disk, we should double-check to avoid unwanted data loss.
I wrote these as if they were Python, not Rust.
Right now it is way too big and annoying to deal with.
Sometimes we want to see the context for a log, not just the logs that match a filter.
From the Python repo:
sys.stdin = open(0)
however this will not work until the original pipe ends, which will never happen when tailing a streamCurrently we initialize a new one every time we want to get input.
Using the below session, running Logria on Linux emits the user's config directory (~/.config
) no matter the actual working directory:
{
"commands": [
"pwd"
],
"stream_type": "Command"
}
Right now the StartupHandler
manually supports selecting items from a list when MultipleChoiceHandler
already provides those features.
One option is to invoke like logria --load [path]
where path is a valid configuration template.
Right now the scroll state is defined by three booleans in a LogiraConfig
; it should be a single enum.
This is caused by crossterm-rs/crossterm#692
These terms are used interchangeably, which can be confusing.
If a buffer is empty and we swap to another buffer that has messages, the empty buffer alert is maintained.
Termination signal isn't getting properly sent to all of the threads.
See thread for details.
Using the following configuration:
name: Test
on:
pull_request:
branches:
- main
- develop
env:
CARGO_TERM_COLOR: always
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Lint
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
GitHub Actions do not work. They run infinitely on tests that access the file system, which is most of them.
https://github.com/ReagentX/Logria/runs/2205703953?check_suite_focus=true
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.