Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
changed log level to debug and added -v to the help
Browse files Browse the repository at this point in the history
  • Loading branch information
hansenmc committed Jul 15, 2016
1 parent f9f3d76 commit 4e1ab2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions deploy/lib/Help.rb
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ def self.corb
See: https://github.com/marklogic/corb2
General options:
-v, [--verbose] # Verbose output
-h, [--help] # Shows this help
DOC
end
Expand Down
4 changes: 2 additions & 2 deletions deploy/lib/server_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ def corb
options["MODULES-DATABASE"] = modules_database
end

# match options with either "--" or "-D" prefix, and normalize options to be UPPER-CASE
# collect options with either "--" or "-D" prefix, and normalize options to be UPPER-CASE
optionArgPattern = /^(--|-D)(.*?)="?(.*)"?/
ARGV.each do |arg|
if arg.match(optionArgPattern)
Expand All @@ -1203,7 +1203,7 @@ def corb
xcc_file = find_jar('xcc')

runme = %Q{java -cp #{corb_file}#{path_separator}#{xcc_file} #{systemProperties} com.marklogic.developer.corb.Manager #{connection_string}}
logger.info runme
logger.debug runme

if options.fetch("INSTALL", false)
# If we're installing, we need to change directories to the source
Expand Down

0 comments on commit 4e1ab2a

Please sign in to comment.