Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleaned up formating on readme

  • Loading branch information...
commit eeaac0a230229a3693aca99efa0f4276638761ea 1 parent 745b30c
@kencochrane kencochrane authored
Showing with 6 additions and 5 deletions.
  1. +6 −5 README.rst
View
11 README.rst
@@ -39,13 +39,13 @@ Configuration
-------------
Log4J configuration
-*******************
+~~~~~~~~~~~~~~~~~~~
Check out src/test/java/resources/log4j_configuration.txt where you can see an example log4j config file.
You will need to add the SentryAppender and the sentry_dsn properties.
sentry_dsn
-~~~~~~~~~~
+^^^^^^^^^^
You will get this value from the "Projects / default / Manage / Member: <username>" page. It will be under "Client DSN".
Don't put quotes around it, because it will mess it up, just put it like you see it below.
@@ -55,13 +55,13 @@ Log4j Config example::
log4j.appender.sentry.sentry_dsn=http://b4935bdd78624092ac2bc70fdcdb6f5a:7a37d9ad4765428180316bfec91a27ef@localhost:8000/1
Proxy
-~~~~~
+^^^^^
If you need to use a proxy for HTTP transport, you can configure it as well::
log4j.appender.sentry.proxy=HTTP:proxyhost:proxyport
SENTRY_DSN Environment Variable
-*******************************
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Raven-Java will first look to see if there is an environment variable called ``SENTRY_DSN`` set before it looks at the log4j config. If the environment variable is set, it will use that value instead of the one set in ``log4j.appender.sentry.sentry_dsn``. This is for a few reasons.
1. Some hosting providers (Heroku, etc) have http://GetSentry.com plugins and they expose your Sentry settings via an environment variable.
@@ -70,7 +70,8 @@ Raven-Java will first look to see if there is an environment variable called ``S
Linux example::
# put this in your profile, or add it to a shell script that calls your java program.
- export SENTRY_DSN=http://b4935bdd78624092ac2bc70fdcdb6f5a:7a37d9ad4765428180316bfec91a27ef@localhost:8000/1
+
+ export SENTRY_DSN=http://b4935bdd78624092a:7a37d9ad47654281803f@localhost:8000/1
Usage
-----
Please sign in to comment.
Something went wrong with that request. Please try again.