From 4c7cbfa9dda370d9f05e3a9fe568b517b017c0a4 Mon Sep 17 00:00:00 2001 From: magenoxx Date: Mon, 26 Dec 2011 21:46:59 +0400 Subject: [PATCH] Added server configs to release folder for embedded server. --- Mage.Client/release/config/config.xml | 28 +++++++++++++++++++++ Mage.Client/release/config/log4j.properties | 14 +++++++++++ Mage.Client/release/config/security.policy | 3 +++ Mage.Client/release/server.msg.txt | 3 +++ 4 files changed, 48 insertions(+) create mode 100644 Mage.Client/release/config/config.xml create mode 100644 Mage.Client/release/config/log4j.properties create mode 100644 Mage.Client/release/config/security.policy create mode 100644 Mage.Client/release/server.msg.txt diff --git a/Mage.Client/release/config/config.xml b/Mage.Client/release/config/config.xml new file mode 100644 index 0000000000..3703d1642a --- /dev/null +++ b/Mage.Client/release/config/config.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Mage.Client/release/config/log4j.properties b/Mage.Client/release/config/log4j.properties new file mode 100644 index 0000000000..f1f6e4f3db --- /dev/null +++ b/Mage.Client/release/config/log4j.properties @@ -0,0 +1,14 @@ +#default levels +log4j.rootLogger=debug, console, logfile + +#console log +log4j.appender.console=org.apache.log4j.ConsoleAppender +log4j.appender.console.layout=org.apache.log4j.PatternLayout +log4j.appender.console.layout.ConversionPattern=%-5p [%d{yyyy-MM-dd HH:mm [ss:SSS]}] %C{1}[%t]: %m%n +log4j.appender.console.Threshold=info + +#file log +log4j.appender.logfile=org.apache.log4j.FileAppender +log4j.appender.logfile.File=mageserver.log +log4j.appender.logfile.layout=org.apache.log4j.PatternLayout +log4j.appender.logfile.layout.ConversionPattern=%-5p [%d{yyyy-MM-dd HH:mm [ss:SSS]}] %C{1}[%t]: %m%n \ No newline at end of file diff --git a/Mage.Client/release/config/security.policy b/Mage.Client/release/config/security.policy new file mode 100644 index 0000000000..dda47ba918 --- /dev/null +++ b/Mage.Client/release/config/security.policy @@ -0,0 +1,3 @@ +grant { + permission java.security.AllPermission; +}; \ No newline at end of file diff --git a/Mage.Client/release/server.msg.txt b/Mage.Client/release/server.msg.txt new file mode 100644 index 0000000000..5747a47fde --- /dev/null +++ b/Mage.Client/release/server.msg.txt @@ -0,0 +1,3 @@ +Welcome! You are playing Mage version 0.8.2-beta. +This is trunk version. Use only for internal testing. +Contact us on www.slightlymagic.net. \ No newline at end of file