Skip to content

Commit fb38ec3

Browse files
smirokintellij-monorepo-bot
authored andcommitted
WI-82415 [ideolog] Add default Xdebug and TYPO3 formats
GitOrigin-RevId: fb79c6b5de74855c6c1dff750940f4853f320b4a
1 parent 522bbc0 commit fb38ec3

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

formatsDirectory/TYPO3.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<State>
2+
<highlightingPatterns>
3+
<LogHighlightingPattern enabled="true" pattern="^\s*emergency\s*$" captureGroup="-1" action="HIGHLIGHT_LINE" fg="-39836" bold="true" italic="false" stripe="true" uuid="8e14a5d0-4947-41b8-9900-93e7883517b6" />
4+
<LogHighlightingPattern enabled="true" pattern="^\s*alert\s*$" captureGroup="-1" action="HIGHLIGHT_LINE" fg="-6329600" bold="true" italic="false" stripe="false" uuid="dd3d25a2-0e72-429d-a729-4885f7f15937" />
5+
</highlightingPatterns>
6+
<parsingPatterns>
7+
<LogParsingPattern enabled="true" name="TYPO3" pattern="^(\w{3}, \d{2} \w{3} \d{4} \d{2}:\d{2}:\d{2} \+\d{4}) \[(\w+)] request=&quot;([^&quot;]+)&quot; component=&quot;([^&quot;]+)&quot;: (.+)$" timePattern="EEE, dd MMM yyyy HH:mm:ss Z" linePattern="^\w{3}," timeId="1" severityId="2" categoryId="4" fullmatch="false" uuid="1f39f138-a343-4378-84e5-19ce459ac9f8" />
8+
</parsingPatterns>
9+
<settingsVersion>13</settingsVersion>
10+
</State>

formatsDirectory/Xdebug.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<State>
2+
<highlightingPatterns>
3+
<LogHighlightingPattern pattern="^\s*ERR\s*$" formatId="6c083f50-56bc-4e71-9bde-db86a3faa90d" captureGroup="-1" action="HIGHLIGHT_LINE" fg="{&quot;lightRgb&quot;:-39836,&quot;darkRgb&quot;:-39836}" bold="true" uuid="f06c3429-5799-49cb-877a-a5bb9df5d269" />
4+
<LogHighlightingPattern pattern="^\s*INFO\s*$" formatId="6c083f50-56bc-4e71-9bde-db86a3faa90d" captureGroup="-1" action="HIGHLIGHT_LINE" fg="{&quot;lightRgb&quot;:-10316203,&quot;darkRgb&quot;:-10316203}" uuid="576f17af-59dd-4d10-a860-303096e9d255" />
5+
<LogHighlightingPattern pattern="^\s*WARN\s*$" formatId="6c083f50-56bc-4e71-9bde-db86a3faa90d" captureGroup="-1" action="HIGHLIGHT_LINE" fg="{&quot;lightRgb&quot;:-6329600,&quot;darkRgb&quot;:-6329600}" bold="true" uuid="ec8bb56c-a8b1-4126-8c29-56ce582edcc6" />
6+
<LogHighlightingPattern pattern="^\s*CRIT\s*$" formatId="6c083f50-56bc-4e71-9bde-db86a3faa90d" captureGroup="-1" action="HIGHLIGHT_LINE" fg="{&quot;lightRgb&quot;:-39836,&quot;darkRgb&quot;:-39836}" bold="true" uuid="b18ddc2d-f7ab-4b82-82a0-9a0f6505799e" />
7+
</highlightingPatterns>
8+
<parsingPatterns>
9+
<LogParsingPattern name="Xdebug" pattern="\[(\d+)\](?: \[([A-Za-z ]+)\] ([A-Z]+):\s)?(.+)" timePattern="yyyy-MM-dd HH:mm:ss.SSSSSS" linePattern="^\[" severityId="2" categoryId="1" uuid="6c083f50-56bc-4e71-9bde-db86a3faa90d" />
10+
</parsingPatterns>
11+
<settingsVersion>13</settingsVersion>
12+
</State>

0 commit comments

Comments
 (0)