Aggregated startup scripts to one script.
Old scripts will be removed after testing period of some length.
- Merged all scripts below and enclosed to functions
- start-zk.sh
- start-ramcloud-coordinator.sh
- start-ramcloud-server.sh
- start-onos.sh
- Uniformed print format
- Created new CLI parameters
- Removed duplicated/obsolete codes
- Segregate logback config file template from startup script
Change-Id: Ice2f9c3dae630f8d7b60c99bca06d5818df0a8ee
diff --git a/conf/logback.xml.template b/conf/logback.xml.template
new file mode 100644
index 0000000..aef06ed
--- /dev/null
+++ b/conf/logback.xml.template
@@ -0,0 +1,24 @@
+<configuration scan="true" scanPeriod="1 minutes" debug="true">
+<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+<encoder>
+<pattern>%level [%logger:%thread] %msg%n</pattern>
+</encoder>
+</appender>
+
+<appender name="FILE" class="ch.qos.logback.core.FileAppender">
+<file>__FILENAME__</file>
+<encoder>
+<pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n</pattern>
+<immediateFlush>true</immediateFlush>
+</encoder>
+</appender>
+
+<logger name="org" level="WARN"/>
+<logger name="LogService" level="WARN"/> <!-- Restlet access logging -->
+<logger name="net.floodlightcontroller.logging" level="WARN"/>
+<logger name="com.hazelcast" level="INFO"/>
+
+<root level="DEBUG">
+<appender-ref ref="FILE" />
+</root>
+</configuration>
\ No newline at end of file