Browse files

cleaned up formating on readme

  • Loading branch information...
kencochrane committed Feb 24, 2012
1 parent 745b30c commit eeaac0a230229a3693aca99efa0f4276638761ea
Showing with 6 additions and 5 deletions.
  1. +6 −5 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.
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::
If you need to use a proxy for HTTP transport, you can configure it as well::
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 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

0 comments on commit eeaac0a

Please sign in to comment.