question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ideolog not parsing log but freezes

See original GitHub issue

Hi,

I am using PHPStorm and I would like to look at some log files with it. The log-files are created using node and log4js. I entered a custom format which I think is correct, but it is not working. The log entries look like this:

[2019-04-05T00:00:00.020] [INFO] job.sendShoppingCartDropOutMails - ---> Starting job sendShoppingCartDropOutMails
[2019-04-05T00:00:00.025] [INFO] job.processMailSequences - ---> Starting job processMailSequences
[2019-04-05T00:00:00.025] [INFO] job.processMailSequences - Sending all mails in sequences that must be sent by now

I have entered the following message pattern: ^\[([^\s]+)\]\s\[(\w+)\]\s([\w\.]+)\s-\s(.*)$

Message start pattern: ^\[

Time format: yyyy-MM-ddTHH:mm:ss.SSS

I think these settings are correct, but when I try to open such a log-file, it does not work, and starts to behave strange, I also had freezes.

Is there something wrong with these settings?

Thanks for your help!

2019-04-05_13-18-27_screenshot

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17

github_iconTop GitHub Comments

1reaction
knahcommented, Apr 9, 2019

I’m currently working on update for the plugin that should greatly improve performance and get rid of freezes. I also hope to include some usability improvements, such as regex validation and previewing in log format settings. I don’t really see what is wrong with your specific pattern. You may want to disable other log formats and reopen your log file to see if it detects the wrong format.

0reactions
a-and-mcommented, Aug 2, 2019

Yes, collapsing multi-line log-entries would be very valuable for me, I very often have single log-entries that are huge and would love to collapse all of them into single lines.

Okay, then I guess this issue can be closed, thanks for your help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Viewing, filtering and navigation for log files in Rider 2018.1 EAP
Highlighting is based on time since the previous event, making it a great help to detect freezes and other discrepancies.
Read more >
Log format not recognised - PhpStorm - Ideolog - Stack Overflow
Ideolog settings. I think I need to enter some regular expressions. This feature seems half baked or worst, totally broken.
Read more >
JetBrains - Bountysource
Created 2 years ago in JetBrains/ideolog with 2 comments. When I cleanup log file I see "Log format not recognized" when new lines...
Read more >
RimWorld Ideology DLC bug - Ludeon Studios
I just bought this Rimworld DLC (ideology) and when i launched ... Rimworld kept crashing/would to freeze when i click on the mod...
Read more >
15 Saving and printing output—log files - Stata
Stata can record your session into a file called a log file but does not start a log ... With great foresight, you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found