[ASTERIXDB-2017][API] Access logs, log rotation
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
- Common Log Format (httpd) style logs for each servlet access.
- Log rotation by default in asterix-server package, rather than
console logging with no rotation
Change-Id: I9a8d76bec308b2fdb20c33370fc9e58a154ba968
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1915
Reviewed-by: Michael Blow <mblow@apache.org>
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
diff --git a/asterixdb/asterix-app/src/main/resources/cc.conf b/asterixdb/asterix-app/src/main/resources/cc.conf
index 0d9f54f..6971b2b 100644
--- a/asterixdb/asterix-app/src/main/resources/cc.conf
+++ b/asterixdb/asterix-app/src/main/resources/cc.conf
@@ -46,6 +46,7 @@
heartbeat.max.misses=25
[common]
+log.dir = logs/
log.level = INFO
compiler.framesize=32KB
compiler.sortmemory=320KB