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

Parsing does not work for idea.log #133

Open
rillig opened this issue Apr 13, 2022 · 0 comments
Open

Parsing does not work for idea.log #133

rillig opened this issue Apr 13, 2022 · 0 comments
Labels

Comments

@rillig
Copy link

rillig commented Apr 13, 2022

As a software developer, I regularly have some log files containing references to other files and Java stack traces. I'd like to have an editor "language" that allows me to click on these references to allow navigation.

Examples for such references are:

  • names of existing files in the local filesystem
  • names of existing files in the local filesystem, plus line number (should be parsed like in the Go To Line action)
  • Java stack traces
  • Go stack traces
  • Lua stack traces
  • http and https URLs

I'd like to be able to have all these in a text file that is editable at the same time, allowing me to make remarks between the log messages.

In the default installation of IntelliJ, .log files are already colored, but references do not work.
IntelliJ suggests to enable the Ideolog plugin for these files, but when I do that, there is no highlighting anymore, which makes the situation look worse than before, even though the Ideolog settings have a checkbox named "Highlight links and code references in log".

I took a typical idea.log file as an example and appended a Java thread dump to it, expecting that it would be highlighted. The built-in Ideolog log formats didn't recognize the following line due to the space before the '992017':

2022-02-22 11:03:15,814 [ 992017][DefaultDispatcher-worker-2]   INFO -                         STDOUT - Keep running Project opening
@smirok smirok added the bug label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants