Skip to content

Instantly share code, notes, and snippets.

@kmila
Forked from mmdemirbas/LogFile.udl.xml
Last active December 19, 2019 19:24
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kmila/5065445 to your computer and use it in GitHub Desktop.
Save kmila/5065445 to your computer and use it in GitHub Desktop.
Notepad++/Scintilla UDL to enable log4j syntax highlighting
<NotepadPlus>
<UserLang name="log4j" ext="log">
<Settings>
<Global caseIgnored="yes" />
<TreatAsSymbol comment="no" commentLine="no" />
<Prefix words1="no" words2="no" words3="no" words4="yes" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">[(0])0</Keywords>
<Keywords name="Folder+"></Keywords>
<Keywords name="Folder-"></Keywords>
<Keywords name="Operators">&apos; - ! &quot; # $ % &amp; ( ) * , . / : ; ? @ [ \ ] ^ _ ` { | } ~ + &lt; = &gt;</Keywords>
<Keywords name="Comment">1 2 0</Keywords>
<Keywords name="Words1">ERROR SEVERE FATAL NullPointerException OutOfMemoryError StackOverflowError</Keywords>
<Keywords name="Words2">WARN WARNING IllegalArgumentException NumberFormatException ArrayIndexOutOfBoundsException IllegalStateException UnsupportedOperationException TimeoutException</Keywords>
<Keywords name="Words3">INFO DEBUG TRACE</Keywords>
<Keywords name="Words4">java start stop end ready pause init publish deploy thread SQL OK POST GET HTTP local host thread pool unknown wait timeout timed interrupted cancel finish err unable invalid Illegal lock exception caused deadlock destroy fault kill fail terminate</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" styleID="11" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontName="" fontStyle="0" />
<WordsStyle name="FOLDEROPEN" styleID="12" fgColor="000000" bgColor="FFFFD5" fontName="" fontStyle="0" />
<WordsStyle name="FOLDERCLOSE" styleID="13" fgColor="000000" bgColor="FFFFD5" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD1" styleID="5" fgColor="FFFFFF" bgColor="FF0000" fontName="" fontStyle="1" />
<WordsStyle name="KEYWORD2" styleID="6" fgColor="FFFFFF" bgColor="FF8040" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD3" styleID="7" fgColor="FFFFFF" bgColor="0080C0" fontName="" fontStyle="0" />
<WordsStyle name="KEYWORD4" styleID="8" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT" styleID="1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="COMMENT LINE" styleID="2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="NUMBER" styleID="4" fgColor="6F6F6F" bgColor="FFFFFF" fontName="" fontStyle="0" />
<WordsStyle name="OPERATOR" styleID="10" fgColor="FF80FF" bgColor="FFFFFF" fontName="" fontStyle="1" />
<WordsStyle name="DELIMINER1" styleID="14" fgColor="C0C0C0" bgColor="FFFFFF" fontName="" fontStyle="4" fontSize="8" />
<WordsStyle name="DELIMINER2" styleID="15" fgColor="800000" bgColor="E6E6E6" fontName="" fontStyle="2" />
<WordsStyle name="DELIMINER3" styleID="16" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" />
</Styles>
</UserLang>
</NotepadPlus>
@Gus7av0
Copy link

Gus7av0 commented Feb 22, 2018

Gracias!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment