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

New Language: Log files (log4net / most log files) #6754

Open
noahkiss opened this issue Mar 13, 2024 · 2 comments
Open

New Language: Log files (log4net / most log files) #6754

noahkiss opened this issue Mar 13, 2024 · 2 comments
Labels
Add Language Good First Issue This is a great opportunity to start contributing to Linguist

Comments

@noahkiss
Copy link

Language name

log4net , or most standard, semi-structured (ex. not json, think console log) log files

URL of example repository

https://github.com/emilast/vscode-logfile-highlighter

URL of syntax highlighting grammar

https://github.com/emilast/vscode-logfile-highlighter/blob/master/syntaxes/log.tmLanguage

Most popular extensions

.log

@noahkiss noahkiss added Add Language Good First Issue This is a great opportunity to start contributing to Linguist labels Mar 13, 2024
@Nixinova
Copy link
Contributor

.log

This seems very likely to encompass many, many different logging formats. See how varied they are here: search.

@Alhadis
Copy link
Collaborator

Alhadis commented Mar 17, 2024

or most standard, semi-structured […] log files

There's no such thing. Log files are notoriously varied in their format, structure and consistency, and log4net output is only a miniscule portion of the types of .log files Linguist is expected to encounter in-the-wild. Even "best guess" highlighting would be extremely hit-or-miss.

I know syntax highlighted log files would look spiffy on GitHub, but remember, Linguist's purpose is to identify data formats and programming languages. Log files—being plain-text files for human consumption—are neither.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Add Language Good First Issue This is a great opportunity to start contributing to Linguist
Projects
None yet
Development

No branches or pull requests

3 participants