mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Use correct parameters for Logger constructor in the SCM and Strategy base initializers
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
67595be1bf
commit
4fe9af6ec4
3 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
*SVN*
|
||||
|
||||
* Use correct parameters for Logger constructor in the SCM and Strategy base initializers [Jamis Buck]
|
||||
|
||||
* Set LC_ALL=C before querying the revision, to make sure the output is in a predictable locale and can be parsed predictably [via Leandro Nunes dos Santos]
|
||||
|
||||
* Add :copy_remote_dir variable for the :copy strategy, to indicate where the archive should be copied to on the remote servers [Jamis Buck]
|
||||
|
|
|
@ -153,7 +153,7 @@ module Capistrano
|
|||
# A reference to a Logger instance that the SCM can use to log
|
||||
# activity.
|
||||
def logger
|
||||
@logger ||= variable(:logger) || Capistrano::Logger.new(STDOUT)
|
||||
@logger ||= variable(:logger) || Capistrano::Logger.new(:output => STDOUT)
|
||||
end
|
||||
|
||||
# A helper for accessing the default command name for this SCM. It
|
||||
|
|
|
@ -49,7 +49,7 @@ module Capistrano
|
|||
private
|
||||
|
||||
def logger
|
||||
@logger ||= configuration[:logger] || Capistrano::Logger.new(STDOUT)
|
||||
@logger ||= configuration[:logger] || Capistrano::Logger.new(:output => STDOUT)
|
||||
end
|
||||
|
||||
# The revision to deploy. Must return a real revision identifier,
|
||||
|
|
Loading…
Reference in a new issue