summaryrefslogtreecommitdiff
path: root/RELEASE_NOTES.md
diff options
context:
space:
mode:
authorJordan Running <jr@getchef.com>2016-03-24 12:01:40 -0500
committerJordan Running <jr@getchef.com>2016-03-29 10:05:34 -0500
commit7d505ce8101679e744692b00627ef015dd8a153f (patch)
tree640d184fb9fc5777b7f610a9c9323e9a26884a2e /RELEASE_NOTES.md
parentbd272751f4493b4414802490b068dd0196fabf02 (diff)
downloadchef-7d505ce8101679e744692b00627ef015dd8a153f.tar.gz
Add shorthand :syslog and :win_evt for log_location configjr/logger-config
Diffstat (limited to 'RELEASE_NOTES.md')
-rw-r--r--RELEASE_NOTES.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 6f67aa7b09..0d7ce17261 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -36,3 +36,12 @@ from Chef::Provider when mixing `use_inline_resources` into classes that only in
class. If any code has been written like this, it should be modified to correctly inherit from
Chef::Provider::LWRPBase instead (which will have the side effect of fixing it so that it correctly works
on Chef 11.0-12.5 as well).
+
+## Shorthand options for `log_location`
+
+The `log_location` setting now accepts shorthand `:syslog` and
+`:win_evt` options. `:syslog` is shorthand for `Chef::Log::Syslog.new`
+and `:win_evt` is shorthand for `Chef::Log::WinEvt.new`. All previously
+valid options are still valid, including Logger or Logger-like
+instances, e.g. `Chef::Log::Syslog.new` with other args than the
+defaults.