ideolog: Ideolog not parsing log but freezes
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!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17
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.