ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject ignite git commit: IGNITE-1257 Fixed agent logging
Date Tue, 13 Oct 2015 10:27:18 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc1 dac939f0c -> a9cb42a5b


IGNITE-1257 Fixed agent logging


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/a9cb42a5
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/a9cb42a5
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/a9cb42a5

Branch: refs/heads/ignite-843-rc1
Commit: a9cb42a5b18c9c4a0b716ea30537b9d7616601ac
Parents: dac939f
Author: Andrey <anovikov@gridgain.com>
Authored: Tue Oct 13 17:27:12 2015 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Tue Oct 13 17:27:12 2015 +0700

----------------------------------------------------------------------
 modules/control-center-agent/.gitignore                       | 1 +
 .../assembly/release-control-center-agent.xml                 | 7 +++++++
 modules/control-center-agent/logs/README.txt                  | 5 +++++
 .../src/main/resources/logging.properties                     | 2 +-
 4 files changed, 14 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/a9cb42a5/modules/control-center-agent/.gitignore
----------------------------------------------------------------------
diff --git a/modules/control-center-agent/.gitignore b/modules/control-center-agent/.gitignore
new file mode 100644
index 0000000..9fbc684
--- /dev/null
+++ b/modules/control-center-agent/.gitignore
@@ -0,0 +1 @@
+logs/*.log.*

http://git-wip-us.apache.org/repos/asf/ignite/blob/a9cb42a5/modules/control-center-agent/assembly/release-control-center-agent.xml
----------------------------------------------------------------------
diff --git a/modules/control-center-agent/assembly/release-control-center-agent.xml b/modules/control-center-agent/assembly/release-control-center-agent.xml
index 5004825..4c9b13e 100644
--- a/modules/control-center-agent/assembly/release-control-center-agent.xml
+++ b/modules/control-center-agent/assembly/release-control-center-agent.xml
@@ -63,6 +63,13 @@
             </includes>
         </fileSet>
         <fileSet>
+            <directory>${basedir}/logs</directory>
+            <outputDirectory>/logs</outputDirectory>
+            <includes>
+                <include>README*</include>
+            </includes>
+        </fileSet>
+        <fileSet>
             <directory>${project.build.directory}</directory>
             <outputDirectory>/</outputDirectory>
             <includes>

http://git-wip-us.apache.org/repos/asf/ignite/blob/a9cb42a5/modules/control-center-agent/logs/README.txt
----------------------------------------------------------------------
diff --git a/modules/control-center-agent/logs/README.txt b/modules/control-center-agent/logs/README.txt
new file mode 100644
index 0000000..3a220eb
--- /dev/null
+++ b/modules/control-center-agent/logs/README.txt
@@ -0,0 +1,5 @@
+Ignite Web Agent
+======================================
+
+This is folder for agent logs.
+

http://git-wip-us.apache.org/repos/asf/ignite/blob/a9cb42a5/modules/control-center-agent/src/main/resources/logging.properties
----------------------------------------------------------------------
diff --git a/modules/control-center-agent/src/main/resources/logging.properties b/modules/control-center-agent/src/main/resources/logging.properties
index fb665dd..38b8ac1 100644
--- a/modules/control-center-agent/src/main/resources/logging.properties
+++ b/modules/control-center-agent/src/main/resources/logging.properties
@@ -21,7 +21,7 @@ java.util.logging.ConsoleHandler.formatter=org.apache.ignite.logger.java.JavaLog
 java.util.logging.ConsoleHandler.level=INFO
 
 java.util.logging.FileHandler.formatter=org.apache.ignite.logger.java.JavaLoggerFormatter
-java.util.logging.FileHandler.pattern=logs/ignite-web-agent.%g.log
+java.util.logging.FileHandler.pattern=logs/ignite-web-agent.log.%g
 java.util.logging.FileHandler.level=FINE
 java.util.logging.FileHandler.limit=10485760
 java.util.logging.FileHandler.count=10


Mime
View raw message