From f44198883b4bec5915e0246728b29d1afc539b9e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 22 Dec 2015 17:16:45 +0300 Subject: logging example --- .gitignore | 1 + src/main/webapp/WEB-INF/logging.properties.example | 5 +++++ src/main/webapp/WEB-INF/push.conf.example | 8 -------- 3 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 src/main/webapp/WEB-INF/logging.properties.example delete mode 100644 src/main/webapp/WEB-INF/push.conf.example diff --git a/.gitignore b/.gitignore index ec7d29ba..5133cecb 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ deps/* .idea/* *.iml **/juick.conf +**/logging.properties \ No newline at end of file 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= -apns_keystore=/path/to/apns/certificates.p12 -apns_mode=sandbox \ No newline at end of file -- cgit v1.2.3