summaryrefslogtreecommitdiff
path: root/RELEASE_NOTES.md
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-04-06 10:20:25 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2017-04-06 10:20:25 -0700
commit4c01ebf6a35f221461c93bd915312f2703af8b29 (patch)
tree0c4257aba0dab4f421d7d68df03d244587ecc844 /RELEASE_NOTES.md
parentb2b87c35ceb2d6e05c2be2f381b3e3dbe86a3dd1 (diff)
downloadchef-4c01ebf6a35f221461c93bd915312f2703af8b29.tar.gz
Chef-13: restore log_location in client.rb
This was probably a bit too aggressive. There are people who pass logger objects in client.rb directly into the log_location, and we'd break them, and there's no general solution. We have a couple of the popular configs that can be passed in as symbols, but not the general case. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'RELEASE_NOTES.md')
-rw-r--r--RELEASE_NOTES.md13
1 files changed, 0 insertions, 13 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index ac49fd7edc..fb6d4a8d97 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -280,21 +280,8 @@ is sent to a pipe. The logger needs to be specifically requested with `--force-
The `--force-formatter` option does still exist, although it will probably be deprecated in the future.
-Setting the `log_location` in the config.rb now applies to both daemonized and command-line invocation and there is
-no magic which dups the logger in order to log to STDOUT on the command line in that case.
-
-Setting logger settings in config.rb is most likely no longer appropriate and those settings should be changed to
-command line flags on the config script or cronjob that invokes chef-client daemonized. In other words:
-
-```
-chef-client -d -L /var/log/client.rb --force-logger
-```
-
If your logfiles switch to the formatter, you need to include `--force-logger` for your daemonized runs.
-If your command line invocations have no output, delete the config.rb setting for the log_location and move that
-to the command line that invokes your daemon process.
-
Redirecting output to a file with `chef-client > /tmp/chef.out` now captures the same output as invoking it directly on the command
line with no redirection.