100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Logging configuration
Christian Bauerfc26640bedf3
diff --git a/.gitignore b/.gitignoreindex 00aaa0fba..8dd5a2cc6 100644--- a/.gitignore+++ b/.gitignore@@ -32,3 +32,4 @@ manager/.factorypath# Ignore build/runtime only datadeployment/proxy/deployment/postgresql/+deployment/manager/openremote.log*diff --git a/deployment/manager/logging.properties b/deployment/manager/logging.propertiesindex badf9c377..ed6fa412e 100644--- a/deployment/manager/logging.properties+++ b/deployment/manager/logging.properties@@ -12,7 +12,7 @@# YOUR PROJECT'S LOG CATEGORIES HERE...###############################################################################-Output handlers+# Output handlers################################################################################ Log on STDOUT and internal syslog service (monitoring in Manager UI)@@ -36,7 +36,7 @@ java.util.logging.ConsoleHandler.level=FINEST# choice to ~/Library/Preferences/IntelliJ*/options/GrepConsole.xml:## - tools/intellijTheme-Default-GrepConsole.xml-# - tools/intellijTheme-Darkcula-GrepConsole.xml+# - tools/intellijTheme-Darcula-GrepConsole.xml#java.util.logging.ConsoleHandler.formatter=org.openremote.container.util.LogFormatter@@ -45,14 +45,20 @@ java.util.logging.ConsoleHandler.formatter=org.openremote.container.util.LogForm################################################################################ Set to FINEST to get all enabled log categories on file handler-#java.util.logging.FileLogger.level=FINEST+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+java.util.logging.FileHandler.pattern=/deployment/openremote.log+java.util.logging.FileHandler.formatter=org.openremote.container.util.LogFormatter+# Rotate between 10 log files+java.util.logging.FileHandler.count=10+# 10 mb per file+java.util.logging.FileHandler.limit=10000000+# Set to false to clear log on restart+java.util.logging.FileHandler.append=true###############################################################################-Categories+# Categories################################################################################ The root logger category, the default for all categories not configured herediff --git a/manager/server/src/main/resources/logging.properties b/manager/server/src/main/resources/logging.propertiesindex 657eeffee..20be7f54b 100644--- a/manager/server/src/main/resources/logging.properties+++ b/manager/server/src/main/resources/logging.properties@@ -4,7 +4,7 @@# variable LOGGING_CONFIG_FILE is set, this file will not be used.###############################################################################-Output handlers+# Output handlers################################################################################ Log on STDOUT and internal syslog service (monitoring in Manager UI)@@ -28,7 +28,7 @@ java.util.logging.ConsoleHandler.level=FINEST# choice to ~/Library/Preferences/IntelliJ*/options/GrepConsole.xml:## - tools/intellijTheme-Default-GrepConsole.xml-# - tools/intellijTheme-Darkcula-GrepConsole.xml+# - tools/intellijTheme-Darcula-GrepConsole.xml#java.util.logging.ConsoleHandler.formatter=org.openremote.container.util.LogFormatter@@ -37,14 +37,20 @@ java.util.logging.ConsoleHandler.formatter=org.openremote.container.util.LogForm################################################################################ Set to FINEST to get all enabled log categories on file handler-#java.util.logging.FileLogger.level=FINEST+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+java.util.logging.FileHandler.pattern=deployment/openremote.log+java.util.logging.FileHandler.formatter=org.openremote.container.util.LogFormatter+# Rotate between 10 log files+java.util.logging.FileHandler.count=10+# 10 mb per file+java.util.logging.FileHandler.limit=10000000+# Set to false to clear log on restart+java.util.logging.FileHandler.append=true###############################################################################-Categories+# Categories################################################################################ The root logger category, the default for all categories not configured here