Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only .log files are imported #8

Open
uinguzero opened this issue Apr 21, 2020 · 2 comments
Open

only .log files are imported #8

uinguzero opened this issue Apr 21, 2020 · 2 comments

Comments

@uinguzero
Copy link

is there a way to specify which files we want the program to import?

for example also .txt files? or maybe a custom extension that we give?

@pbek
Copy link
Owner

pbek commented Apr 21, 2020

Sorry, currently only *.log files are loaded.
See:

filters << "*.log*";

@kenfc
Copy link

kenfc commented Jun 17, 2024

Interesting project
I can see usefulness depending on where development goes

That being said I don't see this request as being an "Enhancement"

I can't speak for wanting to use a nonstandard log extension like ".txt" though I suppose it could be possible.
But on the other hand, the ".log" limitation(??) also blocks legitimate log naming structures used by *NiX for decades.
(cron, debug, dmesg, maillog, messages, ntp, secure, syslog, etc) just to name a few.

That's also not including log rotation extensions (maillog.0, maillog.1 etc)
Though in my testing file.log.1 didn't appear to have problems

Creating a symlink for the problem file to file.log format
ln -s messages messages.log does seem to resolve the issue entirely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants