Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Added file option to logging configuration

Christian Bauer7ea6ddb267b2
diff --git a/.gitignore b/.gitignore
index 578b8d179..00aaa0fba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
.DS_*
.local/
local.properties
+openremote.log
build/
.gradle
diff --git a/container/src/main/java/org/openremote/container/util/LogFormatter.java b/container/src/main/java/org/openremote/container/util/LogFormatter.java
index c747851f5..028a71fc8 100644
--- a/container/src/main/java/org/openremote/container/util/LogFormatter.java
+++ b/container/src/main/java/org/openremote/container/util/LogFormatter.java
@@ -37,7 +37,7 @@ public class LogFormatter extends Formatter {
StringBuilder sb = new StringBuilder(250);
- sb.append(TextUtil.pad(date.format(DateTimeFormatter.ISO_OFFSET_DATE_TIME), 29));
+ sb.append(TextUtil.pad(date.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSS")), 24));
sb.append(" ");
sb.append(TextUtil.pad(record.getLevel().toString(), 7));
sb.append(" ");
diff --git a/container/src/main/java/org/openremote/container/util/LogUtil.java b/container/src/main/java/org/openremote/container/util/LogUtil.java
index 8f164dbc2..3ac21b826 100644
--- a/container/src/main/java/org/openremote/container/util/LogUtil.java
+++ b/container/src/main/java/org/openremote/container/util/LogUtil.java
@@ -46,6 +46,7 @@ public class LogUtil {
if (System.getenv(LOGGING_CONFIG_FILE) != null &&
Files.isReadable(Paths.get(System.getenv(LOGGING_CONFIG_FILE)))) {
try (InputStream is = Files.newInputStream(Paths.get(System.getenv(LOGGING_CONFIG_FILE)))) {
+ System.out.println("Using logging configuration: " + Paths.get(System.getenv(LOGGING_CONFIG_FILE)).toAbsolutePath());
LogManager.getLogManager().readConfiguration(is);
} catch (Exception ex) {
throw new ExceptionInInitializerError(ex);
@@ -54,6 +55,7 @@ public class LogUtil {
// Try to find /deployment/logging.properties
if (Files.isReadable(Paths.get("/deployment/logging.properties"))) {
try (InputStream is = Files.newInputStream(Paths.get("/deployment/logging.properties"))) {
+ System.out.println("Using logging configuration: /deployment/logging.properties");
LogManager.getLogManager().readConfiguration(is);
} catch (Exception ex) {
throw new ExceptionInInitializerError(ex);
@@ -62,6 +64,7 @@ public class LogUtil {
// Or load a default configuration from the classpath
try (InputStream is = Container.class.getClassLoader().getResourceAsStream(defaultLoggingProperties)) {
if (is != null) {
+ System.out.println("Using logging configuration: logging.properties on classpath");
LogManager.getLogManager().readConfiguration(is);
}
} catch (Exception ex) {
diff --git a/deployment/manager/logging.properties b/deployment/manager/logging.properties
index 910de51af..7880fe22f 100644
--- a/deployment/manager/logging.properties
+++ b/deployment/manager/logging.properties
@@ -2,28 +2,67 @@
# configuration we ship to users.
#
# Note that a LOGGING_CONFIG_FILE environment variable in the Docker setup may override this!
-#
-handlers=java.util.logging.ConsoleHandler, org.openremote.manager.server.syslog.SyslogService
+###############################################################################
+Output handlers
+###############################################################################
+
+# Log on STDOUT and internal syslog service (monitoring in Manager UI)
+handlers=java.util.logging.ConsoleHandler, \
+ org.openremote.manager.server.syslog.SyslogService
+
+# Log on STDOUT, to a file, and internal syslog service (monitoring in Manager UI)
+#handlers=java.util.logging.ConsoleHandler, \
+# java.util.logging.FileHandler \
+# org.openremote.manager.server.syslog.SyslogService
+
+###############################################################################
+# Console handler
+###############################################################################
+
+# Set to FINEST to get all enabled log categories on console handler
+java.util.logging.ConsoleHandler.level=FINEST
+
+# Console format, you can colorize this in IntelliJ IDEA "Run Application " console
+# with the GrepConsole plugin and after copying the configuration file of your
+# choice to ~/Library/Preferences/IntelliJ*/options/GrepConsole.xml:
+#
+# - tools/intellijTheme-Default-GrepConsole.xml
+# - tools/intellijTheme-Darkcula-GrepConsole.xml
+#
java.util.logging.ConsoleHandler.formatter=org.openremote.container.util.LogFormatter
-# Set this to FINEST to see all messages on console
-java.util.logging.ConsoleHandler.level=INFO
+###############################################################################
+# File handler
+###############################################################################
+
+# Set to FINEST to get all enabled log categories on file handler
+#java.util.logging.FileLogger.level=FINEST
+# Output file and format
+#java.util.logging.FileHandler.pattern=openremote.log
+#java.util.logging.FileHandler.formatter=org.openremote.container.util.LogFormatter
+
+###############################################################################
+Categories
+###############################################################################
+
+# The root logger category, the default for all categories not configured here
.level=WARNING
-# Set this to FINEST to receive all messages in the syslog service
-org.openremote.level=FINEST
+# The root logger category of OpenRemote, FINE logs much more than INFO
+org.openremote.level=INFO
# Rule execution logging
#
# - Use "global java.util.logging.Logger LOG;" in rule RHS to access this logger
# - Set to FINEST to automatically log all fact additions, removals, and updates
# - Set to INFO and prefix your rule name with "-" or "--" to log execution details
-org.openremote.Rules.level=FINE
+#
+org.openremote.rules.Rules.level=FINE
# Set to INFO to get rules engine statistics periodically, FINEST to dump all facts
-org.openremote.RulesEngineStats.level=INFO
+org.openremote.rules.RulesEngineStats.level=INFO
# Set to FINE to log full exception stack traces
org.openremote.container.web.WebServiceExceptions.level=INFO
diff --git a/manager/server/src/main/java/org/openremote/manager/server/rules/RulesEngine.java b/manager/server/src/main/java/org/openremote/manager/server/rules/RulesEngine.java
index e965ca07c..c05bd0692 100644
--- a/manager/server/src/main/java/org/openremote/manager/server/rules/RulesEngine.java
+++ b/manager/server/src/main/java/org/openremote/manager/server/rules/RulesEngine.java
@@ -80,10 +80,10 @@ public class RulesEngine<T extends Ruleset> {
public static final Logger LOG = Logger.getLogger(RulesEngine.class.getName());
// Separate logger for stats
- public static final Logger STATS_LOG = Logger.getLogger("org.openremote.RulesEngineStats");
+ public static final Logger STATS_LOG = Logger.getLogger("org.openremote.rules.RulesEngineStats");
// Separate logger for rules, available global in session
- public static final Logger RULES_LOG = Logger.getLogger("org.openremote.Rules");
+ public static final Logger RULES_LOG = Logger.getLogger("org.openremote.rules.Rules");
private static final int AUTO_START_DELAY_SECONDS = 2;
private static Long counter = 1L;
@@ -249,7 +249,7 @@ public class RulesEngine<T extends Ruleset> {
? compileTemplate(ruleset.getTemplateAssetId(), ruleset.getRules())
: ruleset.getRules();
- LOG.fine("Final ruleset DRL: " + drl);
+ LOG.finest("Final ruleset DRL: " + drl);
// ID will be unique within the scope of a rules engine as ruleset will all be of same type
kfs.write("src/main/resources/" + ruleset.getId() + ".drl", drl);
diff --git a/manager/server/src/main/resources/logging.properties b/manager/server/src/main/resources/logging.properties
index d1ceae896..46df0c36e 100644
--- a/manager/server/src/main/resources/logging.properties
+++ b/manager/server/src/main/resources/logging.properties
@@ -3,15 +3,54 @@
# file /deployment/logging.properties exists on the host, or the environment
# variable LOGGING_CONFIG_FILE is set, this file will not be used.
-handlers=java.util.logging.ConsoleHandler, org.openremote.manager.server.syslog.SyslogService
-java.util.logging.ConsoleHandler.formatter=org.openremote.container.util.LogFormatter
+###############################################################################
+Output handlers
+###############################################################################
+
+# Log on STDOUT and internal syslog service (monitoring in Manager UI)
+handlers=java.util.logging.ConsoleHandler, \
+ org.openremote.manager.server.syslog.SyslogService
+
+# Log on STDOUT, to a file, and internal syslog service (monitoring in Manager UI)
+#handlers=java.util.logging.ConsoleHandler, \
+# java.util.logging.FileHandler \
+# org.openremote.manager.server.syslog.SyslogService
+
+###############################################################################
+# Console handler
+###############################################################################
-# Set this to FINEST to see all messages on console
+# Set to FINEST to get all enabled log categories on console handler
java.util.logging.ConsoleHandler.level=FINEST
+# Console format, you can colorize this in IntelliJ IDEA "Run Application " console
+# with the GrepConsole plugin and after copying the configuration file of your
+# choice to ~/Library/Preferences/IntelliJ*/options/GrepConsole.xml:
+#
+# - tools/intellijTheme-Default-GrepConsole.xml
+# - tools/intellijTheme-Darkcula-GrepConsole.xml
+#
+java.util.logging.ConsoleHandler.formatter=org.openremote.container.util.LogFormatter
+
+###############################################################################
+# File handler
+###############################################################################
+
+# Set to FINEST to get all enabled log categories on file handler
+#java.util.logging.FileLogger.level=FINEST
+
+# Output file and format
+#java.util.logging.FileHandler.pattern=openremote.log
+#java.util.logging.FileHandler.formatter=org.openremote.container.util.LogFormatter
+
+###############################################################################
+Categories
+###############################################################################
+
+# The root logger category, the default for all categories not configured here
.level=INFO
-# Set this to FINEST to receive all messages in the syslog service
+# The root logger category of OpenRemote, FINE logs much more than INFO
org.openremote.level=FINEST
# Rule execution logging
@@ -19,10 +58,11 @@ org.openremote.level=FINEST
# - Use "global java.util.logging.Logger LOG;" in rule RHS to access this logger
# - Set to FINEST to automatically log all fact additions, removals, and updates
# - Set to INFO and prefix your rule name with "-" or "--" to log execution details
-org.openremote.Rules.level=FINE
+#
+org.openremote.rules.Rules.level=FINE
# Set to INFO to get rules engine statistics periodically, FINEST to dump all facts
-org.openremote.RulesEngineStats.level=INFO
+org.openremote.rules.RulesEngineStats.level=INFO
# Set to FINE to log full exception stack traces
org.openremote.container.web.WebServiceExceptions.level=FINE
@@ -37,7 +77,6 @@ org.xnio.level=WARNING
org.apache.camel.management.level=WARNING
org.apache.camel.impl.converter.DefaultTypeConverter.level=WARNING
org.apache.camel.impl.DefaultShutdownStrategy.level=SEVERE
-com.google.gwt.place.shared.PlaceHistoryHandler.level=SEVERE
# Set to SEVERE to log invalid access tokens
org.keycloak.adapters.BearerTokenRequestAuthenticator.level=SEVERE
diff --git a/tools/intellij/Theme-Darkcula-GrepConsole.xml b/tools/intellij/Theme-Darkcula-GrepConsole.xml
new file mode 100644
index 000000000..f99e577e1
--- /dev/null
+++ b/tools/intellij/Theme-Darkcula-GrepConsole.xml
@@ -0,0 +1,371 @@
+<application>
+ <component name="GrepConsole">
+ <option name="profiles">
+ <list>
+ <Profile>
+ <option name="defaultProfile" value="true" />
+ <option name="grepExpressionGroups">
+ <list>
+ <GrepExpressionGroup>
+ <option name="enabled" value="true" />
+ <option name="grepExpressionItems">
+ <list>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*INFO.*RuleExecutionLogger.*" />
+ <option name="id" value="29533723-64e3-4e30-9a7b-1eeae791f304" />
+ <option name="showCountInConsole" value="true" />
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-4133633" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="2622a046-8e00-4ea4-b08f-5c4dc07912f1" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*openremote\.RulesEngineStats.*" />
+ <option name="id" value="13608db2-0b43-439c-9967-7981d8ce7c47" />
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-4917341" />
+ </GrepColor>
+ </option>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-4917341" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="2622a046-8e00-4ea4-b08f-5c4dc07912f1" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*openremote\.Rules.*" />
+ <option name="id" value="4f800f6d-3fde-4f7e-a180-5269f917fb73" />
+ <option name="showCountInConsole" value="true" />
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-2162731" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="2622a046-8e00-4ea4-b08f-5c4dc07912f1" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ </list>
+ </option>
+ <option name="name" value="Rules" />
+ </GrepExpressionGroup>
+ <GrepExpressionGroup>
+ <option name="grepExpressionItems">
+ <list>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*&gt;&gt;&gt;.*" />
+ <option name="id" value="b9cd6586-c834-41c1-b9a4-4684dd96ad94" />
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="bold" value="true" />
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-1" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="f66a59ce-8109-4ebb-89b5-cb0bb2280168" />
+ </GrepStyle>
+ </option>
+ <option name="unlessGrepExpression" value="" />
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*&lt;&lt;&lt;.*" />
+ <option name="id" value="b03c7640-ed90-490d-8ebe-d0ee3188ead7" />
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-15263977" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="bold" value="true" />
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-1" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="f66a59ce-8109-4ebb-89b5-cb0bb2280168" />
+ </GrepStyle>
+ </option>
+ <option name="unlessGrepExpression" value="" />
+ </GrepExpressionItem>
+ </list>
+ </option>
+ <option name="name" value="Processing" />
+ </GrepExpressionGroup>
+ <GrepExpressionGroup>
+ <option name="grepExpressionItems">
+ <list>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*FATAL.*" />
+ <option name="id" value="c60c26c7-29c5-4d52-965a-44f2869095b1" />
+ <option name="showCountInConsole" value="true" />
+ <option name="sound">
+ <Sound>
+ <option name="path" value="$USER_HOME$/work/private/Misc/Sounds/bleep.wav" />
+ </Sound>
+ </option>
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-65536" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="bold" value="true" />
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-1" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="40c1d141-ac96-4228-9b3b-9d0c2d94998b" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*ERROR.*" />
+ <option name="id" value="b6230a51-30aa-4de6-97be-deedf3ebe166" />
+ <option name="showCountInConsole" value="true" />
+ <option name="sound">
+ <Sound>
+ <option name="path" value="$USER_HOME$/work/private/Misc/Sounds/bleep.wav" />
+ </Sound>
+ </option>
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-14336" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="bold" value="true" />
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="d2e55a4f-376b-41e4-b61b-e01c7f2751af" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*SEVERE.*" />
+ <option name="id" value="516702bf-040f-484d-8c6c-828a7cd496a2" />
+ <option name="showCountInConsole" value="true" />
+ <option name="sound">
+ <Sound>
+ <option name="path" value="$USER_HOME$/work/private/Misc/Sounds/bleep.wav" />
+ </Sound>
+ </option>
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-14336" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="bold" value="true" />
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="d2e55a4f-376b-41e4-b61b-e01c7f2751af" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*WARN.*" />
+ <option name="id" value="ed1f06b8-e131-4a43-9aec-51852385ae07" />
+ <option name="showCountInConsole" value="true" />
+ <option name="sound">
+ <Sound>
+ <option name="path" value="$USER_HOME$/work/private/Misc/Sounds/beep.wav" />
+ </Sound>
+ </option>
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-256" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="04f0cc5c-29c7-4549-b884-47e952dda805" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*WARNING.*" />
+ <option name="id" value="48c04ca8-7606-461c-bb48-3854b99046e1" />
+ <option name="sound">
+ <Sound>
+ <option name="path" value="$USER_HOME$/work/private/Misc/Sounds/beep.wav" />
+ </Sound>
+ </option>
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-256" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="04f0cc5c-29c7-4549-b884-47e952dda805" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*INFO.*" />
+ <option name="id" value="95cfca38-53a6-4bbb-9404-a7ca0a77eb37" />
+ <option name="style">
+ <GrepStyle>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-263173" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="8d2e2435-5558-438d-85de-84b46b4c73f4" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*DEBUG.*" />
+ <option name="id" value="f9f8edb9-1f71-4b53-a13f-59561a5791aa" />
+ <option name="style">
+ <GrepStyle>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-2368549" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="8d2e2435-5558-438d-85de-84b46b4c73f4" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*FINE.*" />
+ <option name="id" value="dffc884a-204a-407f-83bd-99e3d9dea471" />
+ <option name="style">
+ <GrepStyle>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-2368549" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="8d2e2435-5558-438d-85de-84b46b4c73f4" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*TRACE.*" />
+ <option name="id" value="19f81d98-7c61-4702-b3b6-9d107ccfb1a0" />
+ <option name="style">
+ <GrepStyle>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-2368549" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="26b6321d-ad8f-4d91-83f4-753336b61698" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*FINER.*" />
+ <option name="id" value="ecb69cb6-1e7d-405b-aa2e-86d4e4ec0a40" />
+ <option name="style">
+ <GrepStyle>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-2368549" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="26b6321d-ad8f-4d91-83f4-753336b61698" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*FINEST.*" />
+ <option name="id" value="0e55148a-09c9-4e69-bc22-8132f81d6d0c" />
+ <option name="style">
+ <GrepStyle>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-2368549" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="26b6321d-ad8f-4d91-83f4-753336b61698" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ </list>
+ </option>
+ <option name="name" value="default" />
+ </GrepExpressionGroup>
+ </list>
+ </option>
+ <option name="id" value="1493445712361" />
+ <option name="maxLengthToMatch" value="200" />
+ <option name="name" value="default" />
+ <option name="showStatsInConsoleByDefault" value="true" />
+ </Profile>
+ </list>
+ </option>
+ </component>
+</application>
\ No newline at end of file
diff --git a/tools/intellij/Theme-Default-GrepConsole.xml b/tools/intellij/Theme-Default-GrepConsole.xml
new file mode 100644
index 000000000..1cea0331b
--- /dev/null
+++ b/tools/intellij/Theme-Default-GrepConsole.xml
@@ -0,0 +1,351 @@
+<application>
+ <component name="GrepConsole">
+ <option name="profiles">
+ <list>
+ <Profile>
+ <option name="defaultProfile" value="true" />
+ <option name="grepExpressionGroups">
+ <list>
+ <GrepExpressionGroup>
+ <option name="enabled" value="true" />
+ <option name="grepExpressionItems">
+ <list>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*\.rules\.RulesEngine.*" />
+ <option name="id" value="13608db2-0b43-439c-9967-7981d8ce7c47" />
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-7756154" />
+ </GrepColor>
+ </option>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-9336465" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="2622a046-8e00-4ea4-b08f-5c4dc07912f1" />
+ <option name="italic" value="true" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*\.rules\.Rules .*" />
+ <option name="id" value="4f800f6d-3fde-4f7e-a180-5269f917fb73" />
+ <option name="showCountInConsole" value="true" />
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-11316397" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-2162731" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="2622a046-8e00-4ea4-b08f-5c4dc07912f1" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ </list>
+ </option>
+ <option name="name" value="Rules" />
+ </GrepExpressionGroup>
+ <GrepExpressionGroup>
+ <option name="grepExpressionItems">
+ <list>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*&gt;&gt;&gt;.*" />
+ <option name="id" value="b9cd6586-c834-41c1-b9a4-4684dd96ad94" />
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="bold" value="true" />
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-1" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="f66a59ce-8109-4ebb-89b5-cb0bb2280168" />
+ </GrepStyle>
+ </option>
+ <option name="unlessGrepExpression" value="" />
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*&lt;&lt;&lt;.*" />
+ <option name="id" value="b03c7640-ed90-490d-8ebe-d0ee3188ead7" />
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-15263977" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="bold" value="true" />
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-1" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="f66a59ce-8109-4ebb-89b5-cb0bb2280168" />
+ </GrepStyle>
+ </option>
+ <option name="unlessGrepExpression" value="" />
+ </GrepExpressionItem>
+ </list>
+ </option>
+ <option name="name" value="Processing" />
+ </GrepExpressionGroup>
+ <GrepExpressionGroup>
+ <option name="grepExpressionItems">
+ <list>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*FATAL.*" />
+ <option name="id" value="c60c26c7-29c5-4d52-965a-44f2869095b1" />
+ <option name="showCountInConsole" value="true" />
+ <option name="sound">
+ <Sound>
+ <option name="path" value="$USER_HOME$/work/private/Misc/Sounds/bleep.wav" />
+ </Sound>
+ </option>
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-65536" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="bold" value="true" />
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-1" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="40c1d141-ac96-4228-9b3b-9d0c2d94998b" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*ERROR .*" />
+ <option name="id" value="b6230a51-30aa-4de6-97be-deedf3ebe166" />
+ <option name="showCountInConsole" value="true" />
+ <option name="sound">
+ <Sound>
+ <option name="path" value="$USER_HOME$/work/private/Misc/Sounds/bleep.wav" />
+ </Sound>
+ </option>
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-14336" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="bold" value="true" />
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="d2e55a4f-376b-41e4-b61b-e01c7f2751af" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*SEVERE .*" />
+ <option name="id" value="516702bf-040f-484d-8c6c-828a7cd496a2" />
+ <option name="showCountInConsole" value="true" />
+ <option name="sound">
+ <Sound>
+ <option name="path" value="$USER_HOME$/work/private/Misc/Sounds/bleep.wav" />
+ </Sound>
+ </option>
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-14336" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="bold" value="true" />
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="d2e55a4f-376b-41e4-b61b-e01c7f2751af" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*WARN .*" />
+ <option name="id" value="ed1f06b8-e131-4a43-9aec-51852385ae07" />
+ <option name="showCountInConsole" value="true" />
+ <option name="sound">
+ <Sound>
+ <option name="path" value="$USER_HOME$/work/private/Misc/Sounds/beep.wav" />
+ </Sound>
+ </option>
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-256" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="04f0cc5c-29c7-4549-b884-47e952dda805" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*WARNING .*" />
+ <option name="id" value="48c04ca8-7606-461c-bb48-3854b99046e1" />
+ <option name="sound">
+ <Sound>
+ <option name="path" value="$USER_HOME$/work/private/Misc/Sounds/beep.wav" />
+ </Sound>
+ </option>
+ <option name="style">
+ <GrepStyle>
+ <option name="backgroundColor">
+ <GrepColor>
+ <option name="color" value="-256" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="04f0cc5c-29c7-4549-b884-47e952dda805" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*INFO .*" />
+ <option name="id" value="95cfca38-53a6-4bbb-9404-a7ca0a77eb37" />
+ <option name="style">
+ <GrepStyle>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="8d2e2435-5558-438d-85de-84b46b4c73f4" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*DEBUG .*" />
+ <option name="id" value="f9f8edb9-1f71-4b53-a13f-59561a5791aa" />
+ <option name="style">
+ <GrepStyle>
+ <option name="bold" value="true" />
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-9276814" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="8d2e2435-5558-438d-85de-84b46b4c73f4" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*FINE .*" />
+ <option name="id" value="dffc884a-204a-407f-83bd-99e3d9dea471" />
+ <option name="style">
+ <GrepStyle>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-9276814" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="8d2e2435-5558-438d-85de-84b46b4c73f4" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*FINER .*" />
+ <option name="id" value="2b51b7c0-baac-4a86-9f07-2b5193bf39dc" />
+ <option name="style">
+ <GrepStyle>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-9276814" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="8d2e2435-5558-438d-85de-84b46b4c73f4" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*TRACE .*" />
+ <option name="id" value="19f81d98-7c61-4702-b3b6-9d107ccfb1a0" />
+ <option name="style">
+ <GrepStyle>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-5197648" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="26b6321d-ad8f-4d91-83f4-753336b61698" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ <GrepExpressionItem>
+ <option name="grepExpression" value=".*FINEST .*" />
+ <option name="id" value="0e55148a-09c9-4e69-bc22-8132f81d6d0c" />
+ <option name="style">
+ <GrepStyle>
+ <option name="foregroundColor">
+ <GrepColor>
+ <option name="color" value="-5197648" />
+ <option name="enabled" value="true" />
+ </GrepColor>
+ </option>
+ <option name="id" value="26b6321d-ad8f-4d91-83f4-753336b61698" />
+ </GrepStyle>
+ </option>
+ </GrepExpressionItem>
+ </list>
+ </option>
+ <option name="name" value="default" />
+ </GrepExpressionGroup>
+ </list>
+ </option>
+ <option name="id" value="1493445712361" />
+ <option name="maxLengthToMatch" value="200" />
+ <option name="showStatsInConsoleByDefault" value="true" />
+ </Profile>
+ </list>
+ </option>
+ </component>
+</application>
\ No newline at end of file