README.md in logjam_agent-0.34.3 vs README.md in logjam_agent-0.35.0
- old
+ new
@@ -164,9 +164,19 @@
Sinatra's environment setting.
Set the environment variable `APP_LOG_TO_STDOUT` if you want to log to `STDOUT`.
Otherwise, logs will appear in the subdirectory `log` of your application's root.
+## Selective Logging
+
+The agent adds log lines to the request information sent via ZMQ on
+the logging bus and also writes log lines to the configured log
+device.
+
+Using one of the logjam helpers `LogjamAgent.logjam_only` or
+`LogjamAgent.logdevice_only` it is possible to send information to
+only one of those log line sinks for the duration of a given block.
+
## Troubleshooting
If the agent experiences problems when sending data, it will log information to a file named
`logjam_agent_error.log` which you can find under `Rails.root/log`.