karthick-rn commented on a change in pull request #309: Enable debug logging
for Accumulo 2.0
URL: https://github.com/apache/fluo-muchos/pull/309#discussion_r367423481
##########
File path: ansible/roles/accumulo/tasks/main.yml
##########
@@ -61,3 +61,12 @@
creates: "{{ accumulo_home }}/lib/native/libaccumulo.so"
- name: "Create accumulo log dir"
file: path={{ worker_data_dirs[0] }}/logs/accumulo state=directory
+- name: "Enable debug logging in Accumulo 2.0"
+ replace:
+ path: "{{ accumulo_home }}/conf/{{ item }}"
+ regexp: '^log4j.rootLogger.*'
+ replace: "log4j.rootLogger=DEBUG, file"
Review comment:
https://github.com/apache/fluo-muchos/blob/c9a87f458972f93ecedd603662924ca0afd632fd/ansible/roles/accumulo/templates/log4j-service.properties#L34
@keith-turner Hi, Since the line was already there in
`log4j-service.properties`, I was under the impression that #263 was to print
all DEBUG level messages on Accumulo logs and so modified
`log4j.rootLogger=DEBUG, file`. Let me know if there is further change required?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services