{"action":"created","issue":{"url":"https://api.github.com/repos/arangodb/blueprints-arangodb-graph/issues/26","repository_url":"https://api.github.com/repos/arangodb/blueprints-arangodb-graph","labels_url":"https://api.github.com/repos/arangodb/blueprints-arangodb-graph/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/arangodb/blueprints-arangodb-graph/issues/26/comments","events_url":"https://api.github.com/repos/arangodb/blueprints-arangodb-graph/issues/26/events","html_url":"https://github.com/arangodb/blueprints-arangodb-graph/issues/26","id":196116137,"number":26,"title":"Missing logback.xml file when running and instructions to reduce logging","user":{"login":"kuzeko","id":532563,"avatar_url":"https://avatars2.githubusercontent.com/u/532563?v=3","gravatar_id":"","url":"https://api.github.com/users/kuzeko","html_url":"https://github.com/kuzeko","followers_url":"https://api.github.com/users/kuzeko/followers","following_url":"https://api.github.com/users/kuzeko/following{/other_user}","gists_url":"https://api.github.com/users/kuzeko/gists{/gist_id}","starred_url":"https://api.github.com/users/kuzeko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuzeko/subscriptions","organizations_url":"https://api.github.com/users/kuzeko/orgs","repos_url":"https://api.github.com/users/kuzeko/repos","events_url":"https://api.github.com/users/kuzeko/events{/privacy}","received_events_url":"https://api.github.com/users/kuzeko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-16T17:43:53Z","updated_at":"2017-03-21T11:47:01Z","closed_at":null,"body":"The only `logback.xml` is in test, this causes the `[DEBUG]` messages to be printed, which includes http requests too.\r\n\r\nEither add a conf file for logging INFO/WARN and above, or instructions to configure the logging level in the documentation.\r\nFor instance how to set the `$CLASSPATH` pointing to a user defined `logback.xml` file.\r\nIdeally this should be best passed via CLI command too."},"comment":{"url":"https://api.github.com/repos/arangodb/blueprints-arangodb-graph/issues/comments/288054485","html_url":"https://github.com/arangodb/blueprints-arangodb-graph/issues/26#issuecomment-288054485","issue_url":"https://api.github.com/repos/arangodb/blueprints-arangodb-graph/issues/26","id":288054485,"user":{"login":"kuzeko","id":532563,"avatar_url":"https://avatars2.githubusercontent.com/u/532563?v=3","gravatar_id":"","url":"https://api.github.com/users/kuzeko","html_url":"https://github.com/kuzeko","followers_url":"https://api.github.com/users/kuzeko/followers","following_url":"https://api.github.com/users/kuzeko/following{/other_user}","gists_url":"https://api.github.com/users/kuzeko/gists{/gist_id}","starred_url":"https://api.github.com/users/kuzeko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuzeko/subscriptions","organizations_url":"https://api.github.com/users/kuzeko/orgs","repos_url":"https://api.github.com/users/kuzeko/repos","events_url":"https://api.github.com/users/kuzeko/events{/privacy}","received_events_url":"https://api.github.com/users/kuzeko/received_events","type":"User","site_admin":false},"created_at":"2017-03-21T11:47:01Z","updated_at":"2017-03-21T11:47:01Z","body":"Complete steps to fix this:\r\n\r\n1. create config `PATH_TO/confs/` directory with inside:\r\n        a. file `confs/arangod.conf`\r\n        b. file `confs/logback.xml`\r\n\r\n2. set env. variable `CLASSPATH`:\r\n\r\n       export CLASSPATH=PATH_TO/confs\r\n\r\n3.  you can start `arangod` as   follows:\r\n\r\n        arangod  --daemon --pid-file /etc/arangodb/arangodb.pid -c PATH_TO/confs/arangod.conf\r\n\r\n\r\nThe content of  `confs/arangod.conf` should contain:\r\n\r\n      ```\r\n      [log]\r\n      ## info, warning, or error\r\n      level = info\r\n      file = PATH_TO/logs/arangodb.log\r\n      ```\r\n\r\nThe content of the  `confs/logback.xml`\r\n\r\n```xml\r\n<configuration>\r\n  <!-- Arango log4j conf -->\r\n  <appender name=\"CONSOLE\"\r\n      class=\"ch.qos.logback.core.ConsoleAppender\">\r\n          <!-- deny all events with a level below INFO, that is TRACE and DEBUG -->\r\n           <filter class=\"ch.qos.logback.classic.filter.ThresholdFilter\">\r\n                <level>INFO</level>\r\n           </filter>\r\n           <encoder>\r\n           <pattern>\r\n                 %-4relative [%thread] %-5level %logger{30} - %msg%n\r\n           </pattern>\r\n           </encoder>\r\n  </appender>\r\n  <root level=\"DEBUG\">\r\n     <appender-ref ref=\"CONSOLE\" />\r\n  </root>\r\n</configuration>\r\n```\r\n\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"kuzeko"}}