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

Monolog Log pattern not recognized #145

Closed
eliosh opened this issue May 10, 2023 · 1 comment
Closed

Monolog Log pattern not recognized #145

eliosh opened this issue May 10, 2023 · 1 comment

Comments

@eliosh
Copy link

eliosh commented May 10, 2023

I think everything should be correct, but it keeps saying Log format not recognized

This is the log file content (standard line format):

[2023-05-10T11:38:14.178521+02:00] GA4.INFO: Saving file npv.2023-05-09.part0.json [] []
[2023-05-10T11:38:16.569118+02:00] GA4.INFO: Saving file npv.2023-05-10.part0.json [] []
[2023-05-10T11:38:14.178521+02:00] GA4.INFO: Saving file npv.2023-05-09.part0.json [] []
[2023-05-10T11:38:16.569118+02:00] GA4.INFO: Saving file npv.2023-05-10.part0.json [] []
[2023-05-10T11:38:14.178521+02:00] GA4.INFO: Saving file npv.2023-05-09.part0.json [] []

and so on...

and this is the XML exported


 <State>
   <highlightingPatterns />
   <hiddenSubstrings />
   <parsingPatterns>
     <LogParsingPattern 
   enabled="true" 
   name="Monolog" 
   pattern="^\[(.*)\] (.+?)\.([A-Z]+): (.*)" 
   timePattern="yyyy-MM-dd'T'HH:mm:ss.SSSSSSXXX" 
   linePattern="^\[" 
   timeId="0" 
   severityId="2" 
   categoryId="1" 
   fullmatch="true" 
 />
   </parsingPatterns>
   <settingsVersion>6</settingsVersion>
   <lastAddedDefaultFormat>-1</lastAddedDefaultFormat>
   <errorStripeModel>heatmap</errorStripeModel>
   <readonlySizeThreshold>16</readonlySizeThreshold>
   <highlight_links>true</highlight_links>
 </State>

@ArtemKar123
Copy link
Collaborator

Fixed in #165. Will be released in the next version. Thanks for your feedback!

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

No branches or pull requests

2 participants