aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2015-12-22 17:16:45 +0300
committerGravatar Vitaly Takmazov2015-12-22 17:16:45 +0300
commitf44198883b4bec5915e0246728b29d1afc539b9e (patch)
tree85be1ca434f5677e319716cf6f36db8996e5d307 /src
parentc5814707bbb64676debcb34041feadc1f97f60b0 (diff)
logging example
Diffstat (limited to 'src')
-rw-r--r--src/main/webapp/WEB-INF/logging.properties.example5
-rw-r--r--src/main/webapp/WEB-INF/push.conf.example8
2 files changed, 5 insertions, 8 deletions
diff --git a/src/main/webapp/WEB-INF/logging.properties.example b/src/main/webapp/WEB-INF/logging.properties.example
new file mode 100644
index 00000000..7bdaa72e
--- /dev/null
+++ b/src/main/webapp/WEB-INF/logging.properties.example
@@ -0,0 +1,5 @@
+handlers = java.util.logging.FileHandler
+java.util.logging.FileHandler.pattern = www.log
+java.util.logging.FileHandler.limit = 1000000
+java.util.logging.FileHandler.count = 5
+java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
diff --git a/src/main/webapp/WEB-INF/push.conf.example b/src/main/webapp/WEB-INF/push.conf.example
deleted file mode 100644
index adc6597e..00000000
--- a/src/main/webapp/WEB-INF/push.conf.example
+++ /dev/null
@@ -1,8 +0,0 @@
-mysql_host=localhost
-mysql_username=username
-mysql_database=juick
-xmpp_jid=push.juick.com
-xmpp_password=secret
-gcm_key=<Insert_GCM_key>
-apns_keystore=/path/to/apns/certificates.p12
-apns_mode=sandbox \ No newline at end of file