Skip to content

Commit 439c7c0

Browse files
committed
comments to the sql xml file
1 parent 092a4b9 commit 439c7c0

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

Basic/logging-cordapp/build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,13 @@ task deployNodesJava(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
100100

101101
runSchemaMigration = false
102102

103-
extraConfig = [
104-
custom: [
105-
jvmArgs: ["-Dlog4j.configurationFile=$projectDir/config/dev/log4j2.xml"]
106-
]
107-
]
103+
// there are other ways to specify that config for example
104+
// extraConfig = [
105+
// custom: [
106+
// jvmArgs: ["-Dlog4j.configurationFile=$projectDir/config/dev/log4j2.xml"]
107+
// ]
108+
// ]
109+
108110
}
109111

110112
node {

Basic/logging-cordapp/config/sql.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Be aware that this is a configuration file for Apache log4j,
4+
5+
You can read more about this particular example in the corda documentation here:
6+
https://docs.corda.net/docs/corda-os/4.7/node-administration.html#example
7+
-->
28
<Configuration status="WARN">
39
<Appenders>
410
<Console name="Console" target="SYSTEM_OUT">

0 commit comments

Comments
 (0)